New sensor detailed_entity_id

This commit is contained in:
Edward Firmo
2023-11-07 21:45:32 +01:00
parent 0660ef0228
commit 65f33e40d5

View File

@@ -70,7 +70,7 @@ script:
then:
- lambda: |-
// Update home.climate_entity variable
id(entity_id) = (id(is_embedded_thermostat)) ? "embedded_climate" : "";
detailed_entity_id->publish_state((id(is_embedded_thermostat)) ? "embedded_climate" : "");
disp1->set_component_value("climate.embedded", (id(is_embedded_thermostat)) ? 1 : 0);
// Update chips
if (id(is_embedded_thermostat))