From 55e18a61f2887267ed1da07871e10099ff0a5bb6 Mon Sep 17 00:00:00 2001 From: Rising-Sun Date: Mon, 27 Jan 2025 19:45:31 +0100 Subject: [PATCH] fix: Fix Tuya ZY-M100-24GV3 losing settings (#8674) --- src/devices/tuya.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/tuya.ts b/src/devices/tuya.ts index 7ec7459822170..c849a9fbf6974 100644 --- a/src/devices/tuya.ts +++ b/src/devices/tuya.ts @@ -10905,8 +10905,8 @@ const definitions: DefinitionWithExtend[] = [ e.numeric('distance', ea.STATE).withDescription('Target distance'), e.binary('find_switch', ea.STATE_SET, 'ON', 'OFF').withDescription('distance switch'), e.illuminance().withDescription('Illuminance sensor'), - e.numeric('move_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withDescription('Motion Sensitivity'), - e.numeric('presence_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withDescription('Presence Sensitivity'), + e.numeric('move_sensitivity', ea.STATE_SET).withValueMin(1).withValueMax(10).withValueStep(1).withDescription('Motion Sensitivity'), + e.numeric('presence_sensitivity', ea.STATE_SET).withValueMin(1).withValueMax(10).withValueStep(1).withDescription('Presence Sensitivity'), e .numeric('detection_distance_min', ea.STATE_SET) .withValueMin(0)