More trying to get this to work. #744
This commit is contained in:
parent
e49abf2548
commit
abfcd7e53a
|
@ -20,20 +20,18 @@
|
||||||
action:
|
action:
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.front_full_brightness
|
entity_id: scene.front_full_brightness
|
||||||
- service: light.turn_on
|
|
||||||
|
- service_template: >-
|
||||||
|
{% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
||||||
|
light.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.living_room_accents
|
- light.living_room_accents
|
||||||
data_template:
|
rgb_color: [255,0,0]
|
||||||
# Red if Open, Gold if Closed
|
|
||||||
rgb_color: >
|
|
||||||
{% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
|
||||||
- '255'
|
|
||||||
- '0'
|
|
||||||
- '0'
|
|
||||||
{% else %}
|
{% else %}
|
||||||
- '255'
|
light.turn_on
|
||||||
- '215'
|
entity_id:
|
||||||
- '0'
|
- light.living_room_accents
|
||||||
|
rgb_color: [255,215,0]
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
- service_template: >
|
- service_template: >
|
||||||
|
|
Loading…
Reference in New Issue