HomeAssistant
HomeAssistant copied to clipboard
"Clear Night" issue(no icon)
Hello! Issue for Awtrix Weather ⛈️ + Forecast + 🌕️ As i said in issue name - there is no icon when weather status is "Clear night" Empirically, I found out that my weather provider (GisMeteo)(used it bcs that provider give me more relevant weather in Ukraine) gives the status 'clear-night' - and icon not showing. Link for GisMeteo repo - https://github.com/Limych/ha-gismeteo I looked into MQTT and found that
{
"draw": [
{"dp": [8,7,"#9B4ABF"]},
{"dp": [9,7,"#9B4ABF"]},
{"dp": [10,7,"#8642B5"]},
{"dp": [11,7,"#52389F"]},
{"dp": [12,7,"#4550A8"]},
{"dp": [13,7,"#4843A2"]},
{"dp": [14,7,"#683CA8"]},
{"dp": [15,7,"#773FAF"]},
{"dp": [16,7,"#8642B5"]},
{"dp": [17,7,"#8D43B8"]},
{"dp": [18,7,"#8642B5"]},
{"dp": [19,7,"#703EAC"]},{"dt":[8.0,1,"18.9°","#9C4ABF"]}
,{"db":[0,0,8,8,[0,0,2763306,2763306,2763306,2763306,0,0,0,2763306,2763306,2763306,2763306,2763306,2763306,0,2763306,2763306,2763306,2763306,1842204,1842204,2763306,2763306,2763306,2763306,1842204,2763306,1842204,2763306,2763306,2763306,2763306,2763306,1842204,2763306,2763306,2763306,2763306,2763306,2763306,2763306,2763306,2763306,2763306,1842204,2763306,2763306,0,2763306,2763306,1842204,2763306,2763306,2763306,0,0,0,2763306,2763306,2763306,2763306,0,0]]}
],
"icon": "w-clear-night",
"duration": 30,
"pushIcon": 2,
"lifetime": 120,
"lifetimeMode":1,
"weather": "clear-night"
}
and no icon
But!
When i change "weather": "clear-night"
to "weather": "clear_night"
- icon appears.
Full code:
{
"draw": [
{"dp": [8,7,"#9B4ABF"]},
{"dp": [9,7,"#9B4ABF"]},
{"dp": [10,7,"#8642B5"]},
{"dp": [11,7,"#52389F"]},
{"dp": [12,7,"#4550A8"]},
{"dp": [13,7,"#4843A2"]},
{"dp": [14,7,"#683CA8"]},
{"dp": [15,7,"#773FAF"]},
{"dp": [16,7,"#8642B5"]},
{"dp": [17,7,"#8D43B8"]},
{"dp": [18,7,"#8642B5"]},
{"dp": [19,7,"#703EAC"]},{"dt":[8.0,1,"18.9°","#9C4ABF"]}
,{"db":[0,0,8,8,[0,0,2763306,2763306,2763306,2763306,0,0,0,2763306,2763306,2763306,2763306,2763306,2763306,0,2763306,2763306,2763306,2763306,1842204,1842204,2763306,2763306,2763306,2763306,1842204,2763306,1842204,2763306,2763306,2763306,2763306,2763306,1842204,2763306,2763306,2763306,2763306,2763306,2763306,2763306,2763306,2763306,2763306,1842204,2763306,2763306,0,2763306,2763306,1842204,2763306,2763306,2763306,0,0,0,2763306,2763306,2763306,2763306,0,0]]}
],
"icon": "w-clear-night",
"duration": 30,
"pushIcon": 2,
"lifetime": 120,
"lifetimeMode":1,
"weather": "clear_night"
}
Maybe u can tell me where i can change -
to _
?