fix component tests to match configure_entity codegen

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
J. Nick Koston
2026-03-03 11:53:27 -10:00
co-authored by Claude Opus 4.6
parent 42fa6ef818
commit c0873973c1
5 changed files with 9 additions and 9 deletions
@@ -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