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 installed basic ha-card-weather-conditions.js from HACS. After configuring, most looks good, except I have some issues with weather states (openweathermap), like
openweathermap condition: clear-night
openweathermap weather: clear sky
(this is the same timepoint state for 2 sensors, both are unrecognizable by ha-card-weather-conditions).
are not showing any icon. No state also for fog.
I saw in the GitHub /src/ path ha-cwc-openweathermap.ts, added this to my HA and resources in my dashboard, but it didn't change anything.
My questions are:
How to implement ha-cwc-openweathermap.ts (or do something else) to make openweathermap icons be qualified properly regarding to ha-card-weather-conditions.js script written?
I tried to solve it by adding this (.ts to JavaScript environment) at the last point of ha-card-weather-conditions.js, didn't work
`const cwcOpenWeatherMapDayIcons = {
"clear sky": "day",
"few clouds": "cloudy-day-1",
"scattered clouds": "cloudy-day-2",
"broken clouds": "cloudy-day-3",
"shower rain": "rainy-3",
"rain": "rainy-2",
"thunderstorm": "tropical-storm",
"snow": "snowy-2",
"mist": "fog",
};
How to change header (I mean the name field over moon) and moon text sizes?
Changing their code in ha-card-weather-conditions.js didn't work, as well as after installation of card-mod and addressing .title, .name and .moon
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I installed basic ha-card-weather-conditions.js from HACS. After configuring, most looks good, except I have some issues with weather states (openweathermap), like
(this is the same timepoint state for 2 sensors, both are unrecognizable by ha-card-weather-conditions).
are not showing any icon. No state also for fog.
I saw in the GitHub /src/ path ha-cwc-openweathermap.ts, added this to my HA and resources in my dashboard, but it didn't change anything.
My questions are:
How to implement ha-cwc-openweathermap.ts (or do something else) to make openweathermap icons be qualified properly regarding to ha-card-weather-conditions.js script written?
I tried to solve it by adding this (.ts to JavaScript environment) at the last point of ha-card-weather-conditions.js, didn't work
`const cwcOpenWeatherMapDayIcons = {
"clear sky": "day",
"few clouds": "cloudy-day-1",
"scattered clouds": "cloudy-day-2",
"broken clouds": "cloudy-day-3",
"shower rain": "rainy-3",
"rain": "rainy-2",
"thunderstorm": "tropical-storm",
"snow": "snowy-2",
"mist": "fog",
};
const cwcOpenWeatherMapNightIcons = {
...cwcOpenWeatherMapDayIcons,
"clear sky": "night",
"few clouds": "cloudy-night-1",
"scattered clouds": "cloudy-night-2",
"broken clouds": "cloudy-night-3",
};`
How to change header (I mean the name field over moon) and moon text sizes?
Changing their code in ha-card-weather-conditions.js didn't work, as well as after installation of card-mod and addressing .title, .name and .moon
Thanks!
The text was updated successfully, but these errors were encountered: