You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built an own display based on this project. But during the day, weather symbols for future night forecasts were displayed as day symbols. I therefore tried another code for the sensor that works:
{% if ((cond3_time > next_setting and cond3_time < next_rising) or (cond3_time < next_setting and cond3_time < next_rising and next_rising < next_setting)) %}
Maybe you'd like to use it as well.
Best :)
Jorin
The text was updated successfully, but these errors were encountered:
I came up with the logic for checking the future "night" icons based on the Sun setting times, and have also notices a couple of times the icons were not quite right looking into the future... I'll take a look at your update and have a test too! Thanks!!
Hi!
I built an own display based on this project. But during the day, weather symbols for future night forecasts were displayed as day symbols. I therefore tried another code for the sensor that works:
{% if ((cond3_time > next_setting and cond3_time < next_rising) or (cond3_time < next_setting and cond3_time < next_rising and next_rising < next_setting)) %}
Maybe you'd like to use it as well.
Best :)
Jorin
The text was updated successfully, but these errors were encountered: