mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 04:04:06 +00:00
Complete #744 - No more Color_name Breaking Change
This commit is contained in:
@@ -290,16 +290,16 @@ automation:
|
||||
entity_id:
|
||||
- group.living_room_accents
|
||||
data_template:
|
||||
color_name: >
|
||||
rgb_color: >
|
||||
{% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
||||
red
|
||||
[255,0,0]
|
||||
{% else %}
|
||||
gold
|
||||
[255,215,0]
|
||||
{% endif %}
|
||||
|
||||
#-------------------------------------------#---
|
||||
- alias: "Panel Door opened"
|
||||
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
|
Reference in New Issue
Block a user