mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Update developer-tools-state.js
This commit is contained in:
parent
ebb20abee0
commit
903f92f94a
@ -247,6 +247,9 @@ class HaPanelDevState extends EventsMixin(LocalizeMixin(PolymerElement)) {
|
||||
return;
|
||||
}
|
||||
var state = this.hass.states[this._entityId];
|
||||
if (!state) {
|
||||
return;
|
||||
}
|
||||
this._state = state.state;
|
||||
this._stateAttributes = safeDump(state.attributes);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user