Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix Season sensor local time offset #22233
Discovered today during the season change that the Season sensor does not change at the correct time in my time zone - this is because ephem works in UTC time, not local time. Since the sensor was comparing UTC to local, it ended up 7 hours off of the actual official change. This is a very simple change to correct this behavior.
Related issue (if applicable): No related issue.
Pull request in home-assistant.io with documentation (if applicable): No related documentation changes.
Example entry for