Skip to content

Commit 27c4c48

Browse files
authored
fix: Fixed presence state for Tuya RT_ZCZ03Z (_TZE204_uxllnywp) (#8335)
* fix: Fixed presence state for Tuya RT_ZCZ03Z (_TZE204_uxllnywp) * Refactor presence state setter for Tuya RT_ZCZ03Z (_TZE204_uxllnywp)
1 parent d66acfc commit 27c4c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/devices/tuya.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11958,7 +11958,7 @@ const definitions: DefinitionWithExtend[] = [
1195811958
],
1195911959
meta: {
1196011960
tuyaDatapoints: [
11961-
[1, 'presence', tuya.valueConverter.trueFalse1],
11961+
[1, 'presence', tuya.valueConverterBasic.trueFalse(4)],
1196211962
[101, 'target_distance', tuya.valueConverter.raw],
1196311963
[102, 'illuminance_lux', tuya.valueConverter.raw],
1196411964
[103, 'fading_time', tuya.valueConverter.raw],

0 commit comments

Comments
 (0)