Skip to content

Commit 3aeb8ec

Browse files
committed
fix: Fix Tuya ZY-M100-24GV3 move/presenence sentivity range Koenkk/zigbee2mqtt#24049
1 parent 3247132 commit 3aeb8ec

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
@@ -10250,8 +10250,8 @@ const definitions: DefinitionWithExtend[] = [
1025010250
e.numeric('distance', ea.STATE).withDescription('Target distance'),
1025110251
e.binary('find_switch', ea.STATE_SET, 'ON', 'OFF').withDescription('distance switch'),
1025210252
e.illuminance_lux().withDescription('Illuminance sensor'),
10253-
e.numeric('move_sensitivity', ea.STATE_SET).withValueMin(1).withValueMax(10).withValueStep(1).withDescription('Motion Sensitivity'),
10254-
e.numeric('presence_sensitivity', ea.STATE_SET).withValueMin(1).withValueMax(10).withValueStep(1).withDescription('Presence Sensitivity'),
10253+
e.numeric('move_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withDescription('Motion Sensitivity'),
10254+
e.numeric('presence_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withDescription('Presence Sensitivity'),
1025510255
e
1025610256
.numeric('detection_distance_min', ea.STATE_SET)
1025710257
.withValueMin(0)

0 commit comments

Comments
 (0)