[core] Combine entity register + configure_entity_ into one call (#16030)
This commit is contained in:
1 parent
112646a9c4
commit
79b741b8dc
30 files changed
+145
-48
No files matched your search
@@ -31,7 +31,7 @@ def test_binary_sensor_sets_mandatory_fields(generate_main):
|
||||
)
|
||||
|
||||
# Then
|
||||
assert 'bs_1->configure_entity_("test bs1",' in main_cpp
|
||||
assert 'App.register_binary_sensor(bs_1, "test bs1",' in main_cpp
|
||||
assert "bs_1->set_pin(" in main_cpp
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user