From 6c0bb8a47ddc296c79c0ea47c033e3d7d7a742fd Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 26 Aug 2015 08:37:55 -0700 Subject: [PATCH] Bugfix for groups with non existing entities --- package.json | 2 +- src/components/ha-zone-cards.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 734fd61731..255643a6d8 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "author": "Paulus Schoutsen (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" }, diff --git a/src/components/ha-zone-cards.js b/src/components/ha-zone-cards.js index e2aee668e3..eca8a03ddf 100644 --- a/src/components/ha-zone-cards.js +++ b/src/components/ha-zone-cards.js @@ -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 {