Skip to content

Commit

Permalink
remove some items
Browse files Browse the repository at this point in the history
  • Loading branch information
mattreim committed Dec 23, 2024
1 parent 4151b33 commit 76d4a15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devices/tuya/_TZE200_TYST11_trv.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,13 @@
"parse": {
"fn": "tuya",
"dpid": 4,
"eval": "if (Attr.val == 0) { Item.val = 'off' } else if (Attr.val == 1) { Item.val = 'auto' } else if (Attr.val == 2) { Item.val = 'heat' }"
"eval": "if (Attr.val == 0) { Item.val = 'off' } else if (Attr.val == 1) { Item.val = 'auto' } else { Item.val = 'heat' }"
},
"write": {
"fn": "tuya",
"dpid": 4,
"dt": "0x30",
"eval": "if (Item.val == 'off') { 0 } else if (Item.val == 'auto') { 1 } else if (Item.val == 'heat') { 2 }"
"eval": "if (Item.val == 'off') { 0 } else if (Item.val == 'auto') { 1 } else { 2 }"
},
"read": {
"fn": "none"
Expand Down

0 comments on commit 76d4a15

Please sign in to comment.