mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-16 13:56:35 +00:00
Bugfix for groups with non existing entities
This commit is contained in:
parent
6aa46e06f3
commit
6c0bb8a47d
@ -16,7 +16,7 @@
|
|||||||
"author": "Paulus Schoutsen <Paulus@PaulusSchoutsen.nl> (http://paulusschoutsen.nl)",
|
"author": "Paulus Schoutsen <Paulus@PaulusSchoutsen.nl> (http://paulusschoutsen.nl)",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"home-assistant-js": "git+https://github.com/balloob/home-assistant-js.git#252884be6a44d09f50708ae86e786bfaab066914",
|
"home-assistant-js": "git+https://github.com/balloob/home-assistant-js.git#d02264b0f96c31288ca3d2c1884f833986cee298",
|
||||||
"lodash": "^3.10.1",
|
"lodash": "^3.10.1",
|
||||||
"moment": "^2.10.6"
|
"moment": "^2.10.6"
|
||||||
},
|
},
|
||||||
|
@ -82,7 +82,7 @@ export default new Polymer({
|
|||||||
.forEach(groupState => {
|
.forEach(groupState => {
|
||||||
const entities = util.expandGroup(groupState, states);
|
const entities = util.expandGroup(groupState, states);
|
||||||
entities.forEach(entity => hasGroup[entity.entityId] = true);
|
entities.forEach(entity => hasGroup[entity.entityId] = true);
|
||||||
pushCard(groupState.entityDisplay, entities, false);
|
pushCard(groupState.entityDisplay, entities.toArray(), false);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user