Skip to content

Releases: pnbruckner/ha-sun2

Fix handling of core_config_updated event for elevation sensors

17 Jun 14:38
f2b710d
Compare
Choose a tag to compare

Add min_elevation

12 Jun 14:16
af7963f
Compare
Choose a tag to compare

Fix ImportError from 0.110

15 May 00:14
407154a
Compare
Choose a tag to compare

#17

Also remove HACS instructions.

Add icon for elevation binary sensor

31 Dec 03:31
6ed28cb
Compare
Choose a tag to compare

Add elevation binary sensor

03 Dec 16:15
c6b2cf3
Compare
Choose a tag to compare

Fix elevation sensor that fails in some locations sometimes

02 Dec 20:40
8dbaf43
Compare
Choose a tag to compare

Add elevation option. Fix unknown state at startup.

18 Nov 19:45
73ab367
Compare
Choose a tag to compare

Add hms attrs for period-of-time sensors and add max_elevation sensor

12 Jul 18:35
d5c13bd
Compare
Choose a tag to compare

Add new options and change definition of night

21 Jun 20:51
f46ab9d
Compare
Choose a tag to compare

Bug fix

20 Jun 15:50
a07e26c
Compare
Choose a tag to compare

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.