mirror of
https://github.com/esphome/esphome.git
synced 2026-10-01 17:00:21 +00:00
fix component tests to match configure_entity codegen
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
42fa6ef818
commit
c0873973c1
@@ -29,7 +29,7 @@ def test_binary_sensor_sets_mandatory_fields(generate_main):
|
||||
)
|
||||
|
||||
# Then
|
||||
assert 'bs_1->set_name("test bs1",' in main_cpp
|
||||
assert 'bs_1->configure_entity("test bs1",' in main_cpp
|
||||
assert "bs_1->set_pin(" in main_cpp
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user