Bugfix for groups with non existing entities

This commit is contained in:
Paulus Schoutsen 2015-08-26 08:37:55 -07:00
parent 6aa46e06f3
commit 6c0bb8a47d
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
"author": "Paulus Schoutsen <Paulus@PaulusSchoutsen.nl> (http://paulusschoutsen.nl)",
"license": "MIT",
"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",
"moment": "^2.10.6"
},

View File

@ -82,7 +82,7 @@ export default new Polymer({
.forEach(groupState => {
const entities = util.expandGroup(groupState, states);
entities.forEach(entity => hasGroup[entity.entityId] = true);
pushCard(groupState.entityDisplay, entities, false);
pushCard(groupState.entityDisplay, entities.toArray(), false);
}
);
} else {