From c987962b43f094bb88266ddc737108e640acd7de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Fern=C3=A1ndez?= Date: Tue, 10 Sep 2024 00:41:35 +0200 Subject: [PATCH] Bugfix for Tuya ZWT198/ZWT100-BH, both if conditions were the same MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Fernández --- src/devices/tuya.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/tuya.ts b/src/devices/tuya.ts index 2879453ec0a17..bca7b37d4ca97 100644 --- a/src/devices/tuya.ts +++ b/src/devices/tuya.ts @@ -6433,7 +6433,7 @@ const definitions: DefinitionWithExtend[] = [ if (device.manufacturerName === '_TZE200_viy9ihs7') { return {auto: tuya.enum(1), manual: tuya.enum(0), temporary_manual: tuya.enum(2)}; } else { - return {manual: tuya.enum(0), auto: tuya.enum(1), temporary_manual: tuya.enum(2)}; + return {auto: tuya.enum(0), manual: tuya.enum(1), temporary_manual: tuya.enum(2)}; } }), ],