Lint
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user