mirror of
https://github.com/esphome/esphome.git
synced 2026-10-06 19:06:37 +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
@@ -11,4 +11,4 @@ def test_sensor_device_class_set(generate_main):
|
||||
main_cpp = generate_main("tests/component_tests/sensor/test_sensor.yaml")
|
||||
|
||||
# Then
|
||||
assert "s_1->set_entity_strings(" in main_cpp
|
||||
assert "s_1->configure_entity(" in main_cpp
|
||||
|
||||
Reference in New Issue
Block a user