This commit is contained in:
Edward Firmo
2024-02-01 14:13:31 +01:00
parent 083936b1a5
commit bbb49e189b

View File

@@ -427,24 +427,24 @@ api:
embedded_climate: bool embedded_climate: bool
entity: string entity: string
then: then:
- if: - if:
condition: condition:
lambda: 'return not id(is_uploading_tft);' lambda: 'return not id(is_uploading_tft);'
then: then:
- lambda: |- - lambda: |-
if (current_page->state == "climate") detailed_entity->publish_state(entity); if (current_page->state == "climate") detailed_entity->publish_state(entity);
- script.execute: - script.execute:
id: set_climate id: set_climate
current_temp: !lambda "return current_temp;" current_temp: !lambda "return current_temp;"
supported_features: !lambda "return supported_features;" supported_features: !lambda "return supported_features;"
target_temp: !lambda "return target_temp;" target_temp: !lambda "return target_temp;"
target_temp_high: !lambda "return target_temp_high;" target_temp_high: !lambda "return target_temp_high;"
target_temp_low: !lambda "return target_temp_low;" target_temp_low: !lambda "return target_temp_low;"
temp_step: !lambda "return temp_step;" temp_step: !lambda "return temp_step;"
total_steps: !lambda "return total_steps;" total_steps: !lambda "return total_steps;"
temp_offset: !lambda "return temp_offset;" temp_offset: !lambda "return temp_offset;"
climate_icon: !lambda "return climate_icon;" climate_icon: !lambda "return climate_icon;"
embedded_climate: !lambda "return embedded_climate;" embedded_climate: !lambda "return embedded_climate;"
#### Service to set the buttons #### #### Service to set the buttons ####
- service: set_button - service: set_button