Skip to content

Commit

Permalink
Fix Ikea Fyrtur state/on value (dresden-elektronik#6809)
Browse files Browse the repository at this point in the history
command "state/on" differs from IKEA kadrilj device .
also the behavior before implement that devices as DDF was different.
"state/on" must be true if "state/lift" > 0
  • Loading branch information
IPSAttain authored Mar 31, 2023
1 parent c6da81e commit 2cb9742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devices/ikea/fyrtur_block-out_roller_blind.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"at": "0x0008",
"cl": "0x0102",
"ep": 1,
"eval": "if (Attr.val == 100) { Item.val = true; } else { Item.val = false; }",
"eval": "Item.val = Attr.val > 0",
"fn": "zcl"
},
"read": {
Expand Down

0 comments on commit 2cb9742

Please sign in to comment.