correct icon no update for fan
This commit is contained in:
@@ -3137,8 +3137,8 @@ action:
|
||||
{%- elif trigger.to_state.entity_id is match "person." and trigger.to_state.state != 'home' -%} {{ button_person_off }}
|
||||
{%- elif trigger.to_state.entity_id is match "binary_sensor." and trigger.to_state.state == 'on' -%} {{ button_binary_sensor_on }}
|
||||
{%- elif trigger.to_state.entity_id is match "binary_sensor." and trigger.to_state.state == 'off' -%} {{ button_binary_sensor_off }}
|
||||
{%- elif repeat.item.entity is match "fan." and states[repeat.item.entity].state == 'on' -%} {{ button_fan_on }}
|
||||
{%- elif repeat.item.entity is match "fan." and states[repeat.item.entity].state == 'off' -%} {{ button_fan_off }}
|
||||
{%- elif trigger.to_state.entity_id is match "fan." and trigger.to_state.state == 'on' -%} {{ button_fan_on }}
|
||||
{%- elif trigger.to_state.entity_id is match "fan." and trigger.to_state.state == 'off' -%} {{ button_fan_off }}
|
||||
{%- endif -%}
|
||||
# TEXT and BRIGHTNESS Background
|
||||
btn_bg: >-
|
||||
@@ -6111,4 +6111,4 @@ action:
|
||||
|
||||
#############################################################
|
||||
##### CLOSE - Action #####
|
||||
#############################################################
|
||||
#############################################################
|
||||
|
||||
Reference in New Issue
Block a user