github pnbruckner/ha-sun2 2.2.1
Fix startup race condition

latest releases: 3.3.3, 3.3.2, 3.3.1...
20 months ago

It is possible for entities using HA's location configuration (i.e., ones that do not specify the location values in their sun2 config) to update only initially during startup, and then not again until HA is restarted, due to a race condition bug. I believe the occurrence of this bug is rare, but I have experienced it with an elevation sensor. This release fixes that bug.

Also, an upcoming HA release causes a warning for sun2 "duration" entities (aka, "length of time" sensors) since they include a state_class value, which is apparently not correct. This release fixes that problem, too.

Don't miss a new ha-sun2 release

NewReleases is sending notifications on new releases.