diff --git a/config/automation/late_night_outside_helper.yaml b/config/automation/late_night_outside_helper.yaml index 575a8119..114a24bd 100755 --- a/config/automation/late_night_outside_helper.yaml +++ b/config/automation/late_night_outside_helper.yaml @@ -20,21 +20,19 @@ action: - service: scene.turn_on entity_id: scene.front_full_brightness - - service: light.turn_on - entity_id: - - light.living_room_accents - data_template: - # 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 %} - - '255' - - '215' - - '0' - {% endif %} + + - service_template: >- + {% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%} + light.turn_on + entity_id: + - light.living_room_accents + rgb_color: [255,0,0] + {% else %} + light.turn_on + entity_id: + - light.living_room_accents + rgb_color: [255,215,0] + {% endif %} - service_template: > {% set hour=states("sensor.time").split(':')[0] | int %} diff --git a/config/packages/garadget.yaml.DISABLED b/config/packages/garadget.yaml similarity index 100% rename from config/packages/garadget.yaml.DISABLED rename to config/packages/garadget.yaml