Send embedded climate friendly_name on boot

Solves #1171
This commit is contained in:
Edward Firmo
2023-10-20 10:19:09 +02:00
parent 661e2ba8c5
commit d27dc1eb4f
2 changed files with 3 additions and 0 deletions

View File

@@ -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");