diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index 6140243..141a173 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -6649,6 +6649,7 @@ action: else ((display.time.color_rgb[0] //(2**3)) *(2**11))+((display.time.color_rgb[1] //(2**2)) *(2**5))+(display.time.color_rgb[2] //(2**3)) }} embedded_climate: '{{ embedded_climate }}' + embedded_climate_friendly_name: '{{ (state_attr(climate, "friendly_name") | default("")) if embedded_climate else "" }}' embedded_indoor_temperature: '{{ embedded_indoor_temperature }}' temperature_unit_is_fahrenheit: '{{ state_attr((nspaneltemp if embedded_indoor_temperature else indoor_temperature_sensor), "unit_of_measurement") | default("") in ["°F", "F"]}}' mui_please_confirm: '{{ mui[language].please_confirm }}' diff --git a/nspanel_esphome_core.yaml b/nspanel_esphome_core.yaml index 654e24a..c92b519 100644 --- a/nspanel_esphome_core.yaml +++ b/nspanel_esphome_core.yaml @@ -240,6 +240,7 @@ api: time_format: string time_color: int embedded_climate: bool + embedded_climate_friendly_name: string embedded_indoor_temperature: bool temperature_unit_is_fahrenheit: bool mui_please_confirm: string @@ -273,6 +274,7 @@ api: // Embedded thermostat ESP_LOGV("service.global_settings", "Load embedded thermostat"); id(is_embedded_thermostat) = embedded_climate; + id(addon_climate_set_climate_friendly_name).execute(embedded_climate_friendly_name.c_str()); // Indoor temperature ESP_LOGV("service.global_settings", "Set indoor temperature");