I m new and trying a few days to put a configuration for my outside light to go switch on and off on time.
When test the config all work but the action has neven been triggered.
need light on 45 min after sunset and light off at 02:00 hour
This was one of my config:
alias: Light on/off
description: “”
trigger:
platform: time
at: “21:00:00”
condition:
condition: sun
after: sunset
action:
type: turn_off
device_id: f1401706ce46a9aa62540b6f01d0ee0e
entity_id: light.voordeur_verlichting_light
domain: light
mode: single
On mu ubuntu server my local time is right configurated but the home assistant trigger the action 2 hours earlier. Checked time on HA and it is also right configurated.