Only show Z-Wave entities in zwave config

This commit is contained in:
Paulus Schoutsen 2017-02-13 22:21:28 -08:00
parent 7c9c03a087
commit 53ecbbaa13

View File

@ -164,8 +164,7 @@ Polymer({
return Object.keys(hass.states).map(function (key) { return hass.states[key]; })
.filter(function (el) {
return (!el.attributes.hidden &&
true);
// 'node_id' in el.attributes);
'node_id' in el.attributes);
})
.sort(function (entityA, entityB) {
if (entityA.entity_id < entityB.entity_id) {