Skip to content

Commit 3fb4839

Browse files
committed
Try to resolve naming of properties.
1 parent d5d2d56 commit 3fb4839

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@
4444
}
4545
},
4646
"short_name": "Zigbee",
47-
"version": "0.12.1"
47+
"version": "0.12.2"
4848
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zigbee-adapter",
3-
"version": "0.12.1",
3+
"version": "0.12.2",
44
"description": "Zigbee adapter plugin for WebThings Gateway",
55
"author": "WebThingsIO",
66
"main": "index.js",

zb-classifier.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2021,7 +2021,7 @@ class ZigbeeClassifier {
20212021
for (const idx in genOnOffOutputEndpoints) {
20222022
console.log('Processing endpoint', idx, '=',
20232023
genOnOffOutputEndpoints[idx]);
2024-
const suffix = (idx === 0) ? '' : `${idx}`;
2024+
const suffix = (idx == 0) ? '' : `${idx}`;
20252025
const endpoint = genOnOffOutputEndpoints[idx];
20262026

20272027
if (node.modelId.includes('motion')) {
@@ -2071,7 +2071,7 @@ class ZigbeeClassifier {
20712071
for (const idx in genLevelCtrlOutputEndpoints) {
20722072
console.log('Processing endpoint', idx, '=',
20732073
genLevelCtrlOutputEndpoints[idx]);
2074-
const suffix = (idx === 0) ? '' : `${idx}`;
2074+
const suffix = (idx == 0) ? '' : `${idx}`;
20752075
const endpoint = genLevelCtrlOutputEndpoints[idx];
20762076
const onOffProperty = this.addButtonOnProperty(node, endpoint, suffix);
20772077
const levelProperty = this.addButtonLevelProperty(node, endpoint, suffix);

0 commit comments

Comments
 (0)