mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 21:37:21 +00:00
Fix stateObj.attributes.entity_id null issue (#1572)
This commit is contained in:
parent
95ea220936
commit
8ae44e6f7f
@ -55,7 +55,7 @@ class MoreInfoGroup extends PolymerElement {
|
||||
|
||||
computeStates(stateObj, hass) {
|
||||
var states = [];
|
||||
var entIds = stateObj.attributes.entity_id;
|
||||
var entIds = stateObj.attributes.entity_id || [];
|
||||
|
||||
for (var i = 0; i < entIds.length; i++) {
|
||||
var state = hass.states[entIds[i]];
|
||||
|
Loading…
x
Reference in New Issue
Block a user