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