Closed pnbruckner closed 1 year ago
Per: https://community.home-assistant.io/t/enhanced-sun-component/63553/571
The calculated daylight value is wrong because the Sun2PeriodOfTime class is using the wrong default solar depression. It's using -SUNSET_ELEV when it should be using astral.sun.SUN_APPARENT_RADIUS.
-SUNSET_ELEV
astral.sun.SUN_APPARENT_RADIUS
Per: https://community.home-assistant.io/t/enhanced-sun-component/63553/571
The calculated daylight value is wrong because the Sun2PeriodOfTime class is using the wrong default solar depression. It's using
-SUNSET_ELEV
when it should be usingastral.sun.SUN_APPARENT_RADIUS
.