Open vingerha opened 2 years ago
For those still interested, at "hourly" they forgot to include whether the sun is already down or not. You can modify the code in the .js as follows:
<i
class="icon"
style="background: none, url('${this.getWeatherIcon(
daily.condition.toLowerCase(), this.hass.states["sun.sun"]
)}') no-repeat; background-size: contain"
></i>
You have to add "this.hass.states["sun.sun"]"
a.o. partlycloudy is showing the same for day and night