mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 08:16:36 +00:00
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