diff --git a/nspanel_esphome_core.yaml b/nspanel_esphome_core.yaml index dfee2f7..20b2aed 100644 --- a/nspanel_esphome_core.yaml +++ b/nspanel_esphome_core.yaml @@ -2102,7 +2102,7 @@ script: // Report new page to add-ons ESP_LOGV(TAG, "Call add-ons scripts for new page"); - addon_climate_set_climate->execute(page == "climate" and detailed_entity_id->state.c_str() == "embedded_climate"); + addon_climate_set_climate->execute(page == "climate" and detailed_entity_id->state == "embedded_climate"); // Call page constructor if (page == "boot") page_boot->execute(true);