All the color_names are gone. #744
This commit is contained in:
parent
53a21eabf0
commit
aceaf90144
|
@ -22,17 +22,16 @@
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.front_full_brightness
|
entity_id: scene.front_full_brightness
|
||||||
|
|
||||||
- service: light.turn_on
|
- choose:
|
||||||
entity_id:
|
- conditions: >
|
||||||
- light.living_room_accents
|
{{ states.group.entry_points.state == 'on' or
|
||||||
data_template:
|
states.group.garage_doors.state != 'closed' }}
|
||||||
# Red if Open, Gold if Closed
|
sequence:
|
||||||
color_name: >
|
- service: scene.turn_on
|
||||||
{% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
entity_id: scene.Red_living_Room
|
||||||
red
|
default:
|
||||||
{% else %}
|
- service: scene.turn_on
|
||||||
gold
|
entity_id: scene.tv_time
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
- service_template: >
|
- service_template: >
|
||||||
{% set hour=states("sensor.time").split(':')[0] | int %}
|
{% set hour=states("sensor.time").split(':')[0] | int %}
|
||||||
|
@ -49,14 +48,13 @@
|
||||||
- wait_template: >-
|
- wait_template: >-
|
||||||
{{ states.group.garage_doors.state == 'closed' }}
|
{{ states.group.garage_doors.state == 'closed' }}
|
||||||
- service: script.monthly_color_scene
|
- service: script.monthly_color_scene
|
||||||
- service: light.turn_on
|
- choose:
|
||||||
entity_id:
|
- conditions: >
|
||||||
- light.living_room_accents
|
{{ states.group.entry_points.state == 'on' or
|
||||||
data_template:
|
states.group.garage_doors.state != 'closed' }}
|
||||||
# Red if Open, Gold if Closed
|
sequence:
|
||||||
color_name: >
|
- service: scene.turn_on
|
||||||
{% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
entity_id: scene.Red_living_Room
|
||||||
red
|
default:
|
||||||
{% else %}
|
- service: scene.turn_on
|
||||||
gold
|
entity_id: scene.tv_time
|
||||||
{% endif %}
|
|
||||||
|
|
|
@ -326,21 +326,6 @@ automation:
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.tv_time
|
entity_id: scene.tv_time
|
||||||
|
|
||||||
|
|
||||||
# - choose:
|
|
||||||
# - conditions:
|
|
||||||
# - condition: template
|
|
||||||
# value_template: "{% states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}"
|
|
||||||
# sequence:
|
|
||||||
# - service: light.turn_on
|
|
||||||
# entity_id: light.living_room_accents
|
|
||||||
# color_name: 'red'
|
|
||||||
#
|
|
||||||
# default:
|
|
||||||
# - service: light.turn_on
|
|
||||||
# entity_id: light.living_room_accents
|
|
||||||
# color_name: 'gold'
|
|
||||||
|
|
||||||
# - service_template: >-
|
# - service_template: >-
|
||||||
# {% 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' -%}
|
||||||
# light.turn_on
|
# light.turn_on
|
||||||
|
|
Loading…
Reference in New Issue