diff --git a/automations.yaml b/automations.yaml index f0a98a5..936572c 100644 --- a/automations.yaml +++ b/automations.yaml @@ -342,11 +342,15 @@ to: home from: not_home condition: - - condition: sun - before: sunrise - before_offset: '+1' - after: sunset - after_offset: '-1' + - condition: or + conditions: + - condition: sun + after: sunset + before: sunrise + before_offset: '+1' + after_offset: '-1' + - condition: sun + before: sunrise action: - service: script.moodlight_neutral - service: light.turn_on