Releases: pnbruckner/ha-sun2
Releases · pnbruckner/ha-sun2
Fix handling of core_config_updated event for elevation sensors
Add min_elevation
Fix ImportError from 0.110
Also remove HACS instructions.
Add icon for elevation binary sensor
Add elevation binary sensor
Fix elevation sensor that fails in some locations sometimes
Add elevation option. Fix unknown state at startup.
Add hms attrs for period-of-time sensors and add max_elevation sensor
Add new options and change definition of night
Bug fix
PR #3
Some sensors (such as dawn & dusk) were not returning correct values. Apparently astral's Location.solar_depression needs to be explicitly set to 'civil' for its functions to return expected values.
Also reorganize code (mostly class definitions) to make it easier in the future to add sensor types that need to adjust some of the existing behavior (e.g., elevation.)
Lastly, improve error handling a bit.