github pnbruckner/ha-sun2 4.0.0b1
Make sensors use observer elevation that should but haven't

pre-releaseone hour ago

What's Changed

4.0.0b0:

  • Make sensors use observer elevation that should but haven't
    This feature (or really, a bug fix, since these sensors should have always used observer elevation as an input) was first introduced in release 3.4.2, but the implementation was seriously flawed, so that release was retracted. This is a second attempt to implement the same improvement, but in a different way. Also, more manual testing was done than before.
    Sensors affected: Phase, deCONZ Daylight & Elevation binary sensor.
  • Simplify some sensor implementations
    Some of the sensors used an "elevation curve" search mechanism to determine their state. This is overly complex and leads to some sensors disagreeing with each other. Simplify the sensors that used this mechanism to use the time_at_elevation astral method instead.
    Sensors affected: Phase, deCONZ Daylight, Elevation & Elevation binary sensor.
  • Change sunrise & sunset elevation from -0.833 to -0.267
    The astral package made this change in its 2.0 release and was first used in Home Assistant with its 2021.5.0b0 release. This is because the astral package now accounts for refraction

4.0.0b1:

  • Remove outdated manual entity name translations
    Support for placeholders for entity name translations was added to Home Assistant in the 2024.2.0b0 release.

Beta testers needed

Since it is very difficult to test all locations & times of year, both of which affect the operation of these sensors, and since not enough testing was done after the first, failed implementation, I would really appreciate it if people could give this beta release a try AND provide your feedback, good or bad. THANKS!!

Full Changelog: 3.4.3...4.0.0b1

Don't miss a new ha-sun2 release

NewReleases is sending notifications on new releases.