diff --git a/panels/config/zwave/ha-config-zwave.html b/panels/config/zwave/ha-config-zwave.html index 2e943ae78b..022857935d 100644 --- a/panels/config/zwave/ha-config-zwave.html +++ b/panels/config/zwave/ha-config-zwave.html @@ -13,6 +13,9 @@ + + + @@ -84,21 +87,28 @@ hass='[[hass]]' > -
- -
- -
- + + + + +
+ Z-Wave Node Management +
+ + Run Z-Wave commands that affect a single node. Pick a node to see a list of available commands. + + +
-
- + - - - - - - - - - -
- -
+
+ + + + + + @@ -406,28 +414,28 @@ Polymer({ this.selectedGroup = -1; this.hass.callApi('GET', 'zwave/config/' + this.nodes[selectedNode].attributes.node_id).then( - function (configs) { + (configs) => { this.config = this._objToArray(configs); - }.bind(this)); + }); this.hass.callApi('GET', 'zwave/values/' + this.nodes[selectedNode].attributes.node_id).then( - function (values) { + (values) => { this.values = this._objToArray(values); - }.bind(this)); + }); this.hass.callApi('GET', 'zwave/groups/' + this.nodes[selectedNode].attributes.node_id).then( - function (groups) { + (groups) => { this.groups = this._objToArray(groups); - }.bind(this)); + }); this.hasNodeUserCodes = false; this.notifyPath('hasNodeUserCodes'); this.hass.callApi('GET', 'zwave/usercodes/' + this.nodes[selectedNode].attributes.node_id).then( - function (usercodes) { + (usercodes) => { this.userCodes = this._objToArray(usercodes); this.hasNodeUserCodes = this.userCodes.length > 0; this.notifyPath('hasNodeUserCodes'); - }.bind(this)); + }); }, computeSelectedEntityAttrs: function (selectedEntity) { diff --git a/panels/config/zwave/zwave-groups.html b/panels/config/zwave/zwave-groups.html index 02deb5fe7e..38345f787b 100644 --- a/panels/config/zwave/zwave-groups.html +++ b/panels/config/zwave/zwave-groups.html @@ -30,65 +30,68 @@ .help-text { padding-left: 24px; padding-right: 24px; + padding-bottom: 12px; } -
- -
+ + +
+ + + + + +
+