-
-
Notifications
You must be signed in to change notification settings - Fork 36.4k
Open
Labels
Description
The problem
I have an automation setup that I want to trigger 2 hours after dawn
When I use developer tools, the current value for now() is correct and before dawn the sensor.sun_next_dawn is also correct.
But the automation never triggers, no traces or anything. Manually triggering the automation, the actions run as expected.
When I check developers tools when the automation should have triggered, the sensor.sun_next_dawn shows the date for tomorrows dawn. Which I understand why, but makes me wonder how a positive offset is support to work with the sun_next_dawn sensor.
What version of Home Assistant Core has the issue?
core-2025.10.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
sun
Link to integration documentation on our website
https://www.home-assistant.io/integrations/sun/
Diagnostics information
No response
Example YAML snippet
alias: Turn off hallway lights after dawn
description: ""
triggers:
- trigger: time
at:
entity_id: sensor.sun_next_dawn
offset: "02:00"
conditions: []
actions:
- action: light.turn_off
metadata: {}
data: {}
target:
area_id:
- downstairs_hallway
- upstairs_hallway
mode: singleAnything in the logs that might be useful for us?
Additional information
No response