From 76d4a1590c20b98ee0ee75124b121eba5fdb2faf Mon Sep 17 00:00:00 2001 From: mattreim <80219712+mattreim@users.noreply.github.com> Date: Mon, 23 Dec 2024 01:38:45 +0100 Subject: [PATCH] remove some items --- devices/tuya/_TZE200_TYST11_trv.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"