We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f626518 commit 33b785aCopy full SHA for 33b785a
src/devices/tuya.ts
@@ -7091,10 +7091,10 @@ const definitions: DefinitionWithExtend[] = [
7091
'preset',
7092
tuya.valueConverterBasic.lookup((_, device) => {
7093
// https://github.com/Koenkk/zigbee2mqtt/issues/21353#issuecomment-1938328429
7094
- if (device.manufacturerName === '_TZE200_viy9ihs7') {
7095
- return {auto: tuya.enum(0), manual: tuya.enum(1), temporary_manual: tuya.enum(2)};
7096
- } else {
+ if (device.manufacturerName === '_TZE204_lzriup1j') {
7097
return {auto: tuya.enum(1), manual: tuya.enum(0), temporary_manual: tuya.enum(2)};
+ } else {
+ return {auto: tuya.enum(0), manual: tuya.enum(1), temporary_manual: tuya.enum(2)};
7098
}
7099
}),
7100
],
0 commit comments