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: