mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-20 07:46:37 +00:00
ZWave Node Management - Show hidden nodes (#864)
This commit is contained in:
parent
6ad0c254b5
commit
9e09d5b095
@ -449,8 +449,7 @@ class HaConfigZwave extends window.hassMixins.LocalizeMixin(Polymer.Element) {
|
|||||||
return Object.keys(hass.states)
|
return Object.keys(hass.states)
|
||||||
.map(function (key) { return hass.states[key]; })
|
.map(function (key) { return hass.states[key]; })
|
||||||
.filter(function (ent) {
|
.filter(function (ent) {
|
||||||
return (!ent.attributes.hidden &&
|
return ((ent.entity_id).match('zwave[.]'));
|
||||||
(ent.entity_id).match('zwave[.]'));
|
|
||||||
})
|
})
|
||||||
.sort(window.hassUtil.sortByName);
|
.sort(window.hassUtil.sortByName);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user