[core] Combine entity register + configure_entity_ into one call (#16030)

This commit is contained in:
J. Nick Koston
2026-04-27 03:03:39 +00:00
committed by GitHub
parent 112646a9c4
commit 79b741b8dc
30 changed files with 145 additions and 48 deletions
@@ -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