mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix climate state without translation (#1344)
This commit is contained in:
parent
590bba0aca
commit
7bfc01b02c
@ -85,7 +85,7 @@ class HaClimateState extends LocalizeMixin(PolymerElement) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_localizeState(state) {
|
_localizeState(state) {
|
||||||
return this.localize(`state.climate.${state}`);
|
return this.localize(`state.climate.${state}`) || state;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
customElements.define('ha-climate-state', HaClimateState);
|
customElements.define('ha-climate-state', HaClimateState);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user