diff --git a/automations/files/alarm-clock.yaml b/automations/files/alarm-clock.yaml index da1ff95..61c57d2 100644 --- a/automations/files/alarm-clock.yaml +++ b/automations/files/alarm-clock.yaml @@ -4,6 +4,11 @@ trigger: - platform: time at: input_datetime.alarm + condition: + - condition: state + entity_id: sensor.sm_g965f_next_alarm + state: ' com.urbandroid.sleep ' + attribute: Package action: - service: light.turn_on data: