[core] Reduce flash size by combining set_name() and set_object_id() calls (#11941)

This commit is contained in:
J. Nick Koston
2025-11-25 12:15:45 -06:00
committed by GitHub
parent a571033b43
commit cf8c205644
8 changed files with 36 additions and 13 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->set_name_and_object_id("test bs1", "test_bs1");' in main_cpp
assert "bs_1->set_pin(" in main_cpp