upd: remove trailing spaces
This commit is contained in:
@@ -4461,20 +4461,20 @@ action:
|
||||
# Button PIC GRAY/WHITE
|
||||
btn_pic: >
|
||||
{{
|
||||
nextion.pics.button.on
|
||||
if current_entity_state in ['on', 'open', 'opening', 'home']
|
||||
or (item_domain == 'climate' and current_entity_state != 'off')
|
||||
nextion.pics.button.on
|
||||
if current_entity_state in ['on', 'open', 'opening', 'home']
|
||||
or (item_domain == 'climate' and current_entity_state != 'off')
|
||||
or (item_domain in ['button','input_button','scene'] and trigger.id is match 'current_state_entity')
|
||||
else nextion.pics.button.off
|
||||
else nextion.pics.button.off
|
||||
}}
|
||||
# TEXT, BRIGHTNESS and ICON Background
|
||||
btn_bg: >
|
||||
{{
|
||||
nextion.colors.white
|
||||
if current_entity_state in ['on', 'open', 'opening', 'home']
|
||||
or (item_domain == 'climate' and current_entity_state != 'off')
|
||||
nextion.colors.white
|
||||
if current_entity_state in ['on', 'open', 'opening', 'home']
|
||||
or (item_domain == 'climate' and current_entity_state != 'off')
|
||||
or (item_domain in ['button','input_button','scene'] and trigger.id is match 'current_state_entity')
|
||||
else nextion.colors.grey_dark
|
||||
else nextion.colors.grey_dark
|
||||
}}
|
||||
# ICON Font Color
|
||||
btn_icon_font: >
|
||||
|
||||
Reference in New Issue
Block a user