From a6b5f3714a1c7ab67d84ebbf2f636e4fe17a25d9 Mon Sep 17 00:00:00 2001 From: darthsandmann Date: Mon, 8 Aug 2022 23:30:39 +0200 Subject: [PATCH] fixes --- packages/light/night.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/light/night.yaml b/packages/light/night.yaml index 28ea7b2..f7d1029 100644 --- a/packages/light/night.yaml +++ b/packages/light/night.yaml @@ -11,11 +11,12 @@ automation: minutes: "10" action: - if: - - condition: sun - before: sunrise - before_offset: "+01:00" - after: sunset - after_offset: "-01:00" + - condition: or + conditions: + - condition: sun + after: sunset + - condition: sun + before: sunrise then: - service: input_boolean.turn_on target: