Skip to content

Commit 28bac1e

Browse files
committed
Fix hiding invisible properties - closes #337
1 parent c4cfb08 commit 28bac1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/zb-property.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ class ZigbeeProperty extends Property {
125125
dict.bindNeeded = this.bindNeeded;
126126
dict.configReportNeeded = this.configReportNeeded;
127127
dict.initialReadNeeded = this.initialReadNeeded;
128+
if (this.hasOwnProperty('visible')) {
129+
dict.visible = this.visible;
130+
}
128131
if (this.hasOwnProperty('level')) {
129132
dict.level = this.level;
130133
}

0 commit comments

Comments
 (0)