|
|
|
@ -27,13 +27,13 @@
|
|
|
|
# Red if Open, Gold if Closed
|
|
|
|
# Red if Open, Gold if Closed
|
|
|
|
rgb_color: >
|
|
|
|
rgb_color: >
|
|
|
|
{% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
|
|
|
{% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
|
|
|
- 255
|
|
|
|
- '255'
|
|
|
|
- 0
|
|
|
|
- '0'
|
|
|
|
- 0
|
|
|
|
- '0'
|
|
|
|
{% else %}
|
|
|
|
{% else %}
|
|
|
|
- 255
|
|
|
|
- '255'
|
|
|
|
- 215
|
|
|
|
- '215'
|
|
|
|
- 0
|
|
|
|
- '0'
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
- service_template: >
|
|
|
|
- service_template: >
|
|
|
|
@ -58,11 +58,11 @@
|
|
|
|
# Red if Open, Gold if Closed
|
|
|
|
# Red if Open, Gold if Closed
|
|
|
|
rgb_color: >
|
|
|
|
rgb_color: >
|
|
|
|
{% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
|
|
|
{% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
|
|
|
- 255
|
|
|
|
- '255'
|
|
|
|
- 0
|
|
|
|
- '0'
|
|
|
|
- 0
|
|
|
|
- '0'
|
|
|
|
{% else %}
|
|
|
|
{% else %}
|
|
|
|
- 255
|
|
|
|
- '255'
|
|
|
|
- 215
|
|
|
|
- '215'
|
|
|
|
- 0
|
|
|
|
- '0'
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|