Skip to content

Commit

Permalink
fix: Fix TuYa ZG-204ZM motion_detection_mode values #7590
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jun 1, 2024
1 parent 9b2adff commit 7eddd40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6338,7 +6338,7 @@ const definitions: Definition[] = [
e.numeric('static_detection_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withUnit('x')
.withDescription('Static detection sensitivity'),
e.binary('indicator', ea.STATE_SET, 'ON', 'OFF').withDescription('LED indicator mode'),
e.enum('motion_detection_mode', ea.STATE_SET, ['Only PIR', 'PIR+Dadar', 'Only Dadar'])
e.enum('motion_detection_mode', ea.STATE_SET, ['only_pir', 'pir_and_dadar', 'only_dadar'])
.withDescription('Motion detection mode (Firmware version>=0122052017)'),
e.numeric('motion_detection_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withUnit('x')
.withDescription('Motion detection sensitivity (Firmware version>=0122052017)'),
Expand Down

0 comments on commit 7eddd40

Please sign in to comment.