Skip to content

Commit e9cc0de

Browse files
committed
fix: Fix Tuya ZY-M100-24GV2 move/presence sensitivty range Koenkk/zigbee2mqtt#24049
1 parent a4727d7 commit e9cc0de

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
@@ -10256,8 +10256,8 @@ const definitions: DefinitionWithExtend[] = [
1025610256
e.presence().withDescription('Occupancy'),
1025710257
e.numeric('distance', ea.STATE).withUnit('m').withDescription('Target distance'),
1025810258
e.illuminance_lux().withDescription('Illuminance sensor'),
10259-
e.numeric('move_sensitivity', ea.STATE_SET).withValueMin(1).withValueMax(10).withValueStep(1).withDescription('Motion Sensitivity'),
10260-
e.numeric('presence_sensitivity', ea.STATE_SET).withValueMin(1).withValueMax(10).withValueStep(1).withDescription('Presence Sensitivity'),
10259+
e.numeric('move_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withDescription('Motion Sensitivity'),
10260+
e.numeric('presence_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withDescription('Presence Sensitivity'),
1026110261
e
1026210262
.numeric('detection_distance_min', ea.STATE_SET)
1026310263
.withValueMin(0)

0 commit comments

Comments
 (0)