From d8560400be1ca0a763ace7e12fcf177eb614121e Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 11 Jan 2021 04:49:59 +0100 Subject: [PATCH] Set only one app to update alarm clock values --- automations/files/alarm-clock.yaml | 5 +++++ 1 file changed, 5 insertions(+) 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: