diff --git a/ansible/roles/podman/files/hass/automations.yaml b/ansible/roles/podman/files/hass/automations.yaml index 820e616..ac555cc 100644 --- a/ansible/roles/podman/files/hass/automations.yaml +++ b/ansible/roles/podman/files/hass/automations.yaml @@ -89,6 +89,9 @@ - action: script.evening_lights_apply data: apply: force + - action: switch.turn_on + target: + entity_id: switch.desk_lamp - conditions: - condition: or conditions: @@ -100,6 +103,9 @@ - action: light.turn_off target: area_id: living_room + - action: switch.turn_off + target: + entity_id: switch.desk_lamp mode: single - id: driveway_lights_on alias: Driveway String Lights On @@ -155,6 +161,10 @@ brightness_pct: 5 target: area_id: living_room + else: + - action: switch.turn_on + target: + entity_id: switch.desk_lamp mode: single - id: evening_dim_ramp alias: Lights - Evening Dim Ramp @@ -197,6 +207,9 @@ - action: light.turn_off target: entity_id: light.living_room + - action: switch.turn_off + target: + entity_id: switch.desk_lamp mode: single - id: lights_sweep_0100 alias: Lights - Sweep (01:00) @@ -226,6 +239,9 @@ - action: light.turn_off target: entity_id: light.living_room + - action: switch.turn_off + target: + entity_id: switch.desk_lamp mode: single - id: '1768862300896' alias: Bedroom On