Use correct keys for localization. (#1533)
This commit is contained in:
parent
716e505c88
commit
c537a8d389
@ -217,7 +217,7 @@ class HaWeatherCard extends
|
||||
}
|
||||
|
||||
computeState(state, localize) {
|
||||
return localize(`state.weather.${state.replace('-', '_')}`) || state;
|
||||
return localize(`state.weather.${state}`) || state;
|
||||
}
|
||||
|
||||
showWeatherIcon(condition) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user