We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 635a97b commit 1b89b6fCopy full SHA for 1b89b6f
devices/eurotronic/eurotronic_spzb0001_trv.json
@@ -87,7 +87,7 @@
87
"at": "0x4008",
88
"cl": "0x0201",
89
"ep": 1,
90
- "eval": "Item.val = ((Attr.val & 0x02) !== 0);",
+ "eval": "Item.val = (Attr.val & 0x02) !== 0;",
91
"fn": "zcl:attr",
92
"mf": "0x1037"
93
},
@@ -152,7 +152,7 @@
152
153
154
155
- "eval": "Item.val = ((Attr.val & 0x80) !== 0);",
+ "eval": "Item.val = (Attr.val & 0x80) !== 0;",
156
157
158
@@ -283,7 +283,7 @@
283
284
285
286
- "eval": "Item.val = (R.item('config/hostflags').val >> 3) & 0x01;",
+ "eval": "Item.val = (Attr.val >> 3) & 0x01;",
287
288
289
0 commit comments