From cd9bc28e9e312d4b33699b838cf8e506e605f145 Mon Sep 17 00:00:00 2001 From: Claus Dethlefsen Date: Fri, 24 Apr 2026 19:27:29 +0200 Subject: [PATCH] Soft wakeup lys: spring over hvis anne eller claus er syg --- include/automations/lys_sovevaerelse.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/automations/lys_sovevaerelse.yaml b/include/automations/lys_sovevaerelse.yaml index b5460c3..9384fc2 100644 --- a/include/automations/lys_sovevaerelse.yaml +++ b/include/automations/lys_sovevaerelse.yaml @@ -6,6 +6,10 @@ - condition: state entity_id: binary_sensor.arbejdsdag state: 'on' + - condition: template + value_template: >- + {{ not is_state('input_select.anne_status', 'syg') and + not is_state('input_select.claus_status', 'syg') }} action: - service: script.sunrise