You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the sun.sun sunset trigger in my automation (among others). Additionally I have an automation condition to confirm that the state of sun.sun is below_horizon. This has been working fine so far. I suspect there is a new bug, introduced in #113544@bdraco
Now, once the sun.sun sunset trigger fires, the sun's state sometimes is below_horizon but sometimes also above_horizon (altough the trigger just fired).
To reproduce create an automation with a sunset trigger and a condition with sun state below_horizon. You will notice, sometimes the automation condition is false.
And interestingly, some other automation in my system is working fine:
What version of Home Assistant Core has the issue?
core-2024.4.2
What was the last working version of Home Assistant Core?
Hey there @Swamp-Ig, mind taking a look at this issue as it has been labeled with an integration (sun) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of sun can trigger bot actions by commenting:
@home-assistant close Closes the issue.
@home-assistant rename Awesome new title Renames the issue.
@home-assistant reopen Reopen the issue.
@home-assistant unassign sun Removes the current integration label and assignees on the issue, add the integration domain after the command.
@home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
@home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
The problem
I'm using the
sun.sun
sunset trigger in my automation (among others). Additionally I have an automation condition to confirm that the state ofsun.sun
isbelow_horizon
. This has been working fine so far. I suspect there is a new bug, introduced in #113544 @bdracoNow, once the
sun.sun
sunset trigger fires, the sun's state sometimes isbelow_horizon
but sometimes alsoabove_horizon
(altough the trigger just fired).To reproduce create an automation with a sunset trigger and a condition with sun state
below_horizon
. You will notice, sometimes the automation condition is false.And interestingly, some other automation in my system is working fine:
What version of Home Assistant Core has the issue?
core-2024.4.2
What was the last working version of Home Assistant Core?
core-2024.3.3
What type of installation are you running?
Home Assistant OS
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
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: