From 958c5bf935432561bc4b80f984187e31f09f5e9c Mon Sep 17 00:00:00 2001 From: John Arild Berentsen Date: Sun, 26 Nov 2017 09:17:03 +0100 Subject: [PATCH] Fix failing build (#684) --- panels/config/zwave/zwave-usercodes.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panels/config/zwave/zwave-usercodes.html b/panels/config/zwave/zwave-usercodes.html index 9d36708128..9b4ce741db 100644 --- a/panels/config/zwave/zwave-usercodes.html +++ b/panels/config/zwave/zwave-usercodes.html @@ -146,7 +146,7 @@ class ZwaveUsercodes extends Polymer.Element { var value = this.userCodes[selectedUserCode].value.code; this.userCodeMaxLen = (this.userCodes[selectedUserCode].value.length * 4); this.selectedUserCodeValue = this.a2hex(value); - this.computedCodeOutput = this.hex2a(this.selectedUserCodeValue); + this.computedCodeOutput = '[' + this.hex2a(this.selectedUserCodeValue) + ']'; } computeUserCodeServiceData(selectedUserCodeValue, type) { @@ -155,7 +155,7 @@ class ZwaveUsercodes extends Polymer.Element { var valueData = null; if (type === 'Add') { valueData = this.hex2a(selectedUserCodeValue); - this.computedCodeOutput = valueData; + this.computedCodeOutput = '[' + valueData + ']'; serviceData = { node_id: this.nodes[this.selectedNode].attributes.node_id, code_slot: this.selectedUserCode,