mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-09 02:16:35 +00:00
Fix failing build (#684)
This commit is contained in:
parent
db0438dd4d
commit
958c5bf935
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user