Still working out all the kinks #744
This commit is contained in:
parent
fa762c74c5
commit
e49abf2548
|
@ -27,13 +27,13 @@
|
|||
# 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
|
||||
- '255'
|
||||
- '0'
|
||||
- '0'
|
||||
{% else %}
|
||||
- 255
|
||||
- 215
|
||||
- 0
|
||||
- '255'
|
||||
- '215'
|
||||
- '0'
|
||||
{% endif %}
|
||||
|
||||
- service_template: >
|
||||
|
@ -58,11 +58,11 @@
|
|||
# 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
|
||||
- '255'
|
||||
- '0'
|
||||
- '0'
|
||||
{% else %}
|
||||
- 255
|
||||
- 215
|
||||
- 0
|
||||
- '255'
|
||||
- '215'
|
||||
- '0'
|
||||
{% endif %}
|
||||
|
|
|
@ -292,9 +292,13 @@ automation:
|
|||
data_template:
|
||||
rgb_color: >
|
||||
{% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
||||
[255,0,0]
|
||||
- '255'
|
||||
- '0'
|
||||
- '0'
|
||||
{% else %}
|
||||
[255,215,0]
|
||||
- '255'
|
||||
- '215'
|
||||
- '0'
|
||||
{% endif %}
|
||||
|
||||
#-------------------------------------------#---
|
||||
|
|
Loading…
Reference in New Issue