diff --git a/devices/tuya/_TZE200_TYST11_trv.json b/devices/tuya/_TZE200_TYST11_trv.json index 8cb9efc704..dd7936763d 100644 --- a/devices/tuya/_TZE200_TYST11_trv.json +++ b/devices/tuya/_TZE200_TYST11_trv.json @@ -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"