Weather Custom Card - Weather Icon
zsarnett opened this issue · 2 comments
Expected Behavior
Weather is Sunny for a day in the week not today and the icon would be the Sunny Animated Icon while viewing at Night
(Every day that is not the current day would use the Day Icons instead of the Night Icons)
Current Behavior
Weather is Sunny for a Day in the week not today and the icon shows the current SunLocation Animated Icon while viewing at night
I added the Time and Date into your card :)
I would expect it to only use the Sun Location on the current day of the week
Possible Solution
After the first element in the map, reset the SunLocation to sunny.
You could probably think of a better solution that is more dynamic
I hacked this together and have to admit that I barely understand the code. I will follow your lead here :)
Fixed with bram's weather card.