mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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) {
|
||||
return this.localize(`state.climate.${state}`);
|
||||
return this.localize(`state.climate.${state}`) || state;
|
||||
}
|
||||
}
|
||||
customElements.define('ha-climate-state', HaClimateState);
|
||||
|
Loading…
x
Reference in New Issue
Block a user