Skip to content

Commit 55e18a6

Browse files
authored
fix: Fix Tuya ZY-M100-24GV3 losing settings (#8674)
1 parent 20981bc commit 55e18a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/devices/tuya.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -10905,8 +10905,8 @@ const definitions: DefinitionWithExtend[] = [
1090510905
e.numeric('distance', ea.STATE).withDescription('Target distance'),
1090610906
e.binary('find_switch', ea.STATE_SET, 'ON', 'OFF').withDescription('distance switch'),
1090710907
e.illuminance().withDescription('Illuminance sensor'),
10908-
e.numeric('move_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withDescription('Motion Sensitivity'),
10909-
e.numeric('presence_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withDescription('Presence Sensitivity'),
10908+
e.numeric('move_sensitivity', ea.STATE_SET).withValueMin(1).withValueMax(10).withValueStep(1).withDescription('Motion Sensitivity'),
10909+
e.numeric('presence_sensitivity', ea.STATE_SET).withValueMin(1).withValueMax(10).withValueStep(1).withDescription('Presence Sensitivity'),
1091010910
e
1091110911
.numeric('detection_distance_min', ea.STATE_SET)
1091210912
.withValueMin(0)

0 commit comments

Comments
 (0)