Skip to content

Commit

Permalink
fix(config): make parameter zwave-js#5 firmware dependent for Zooz ZS…
Browse files Browse the repository at this point in the history
…E40 (zwave-js#2339)
  • Loading branch information
blhoward2 authored and rikdc committed Apr 19, 2021
1 parent 95efe3e commit 6adb15c
Showing 1 changed file with 44 additions and 13 deletions.
57 changes: 44 additions & 13 deletions packages/config/config/devices/0x027a/zse40.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,50 @@
"writeOnly": false,
"allowManualEntry": true
},
"5": {
"label": "Trigger Interval",
"description": "Set the trigger interval for motion sensor re-activation.",
"unit": "minutes",
"valueSize": 1,
"minValue": 1,
"maxValue": 255,
"defaultValue": 3,
"unsigned": true,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": true
},
"5": [
{
"$if": "firmwareVersion < 17.9",
"label": "Trigger Interval",
"description": "Set the trigger interval for motion sensor re-activation.",
"unit": "minutes",
"valueSize": 1,
"minValue": 1,
"maxValue": 255,
"defaultValue": 3,
"unsigned": true,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": true
},
{
"$if": "firmwareVersion >= 17.9 && firmwareVersion < 24.2",
"label": "Trigger Interval",
"description": "Set the trigger interval for motion sensor re-activation.",
"unit": "seconds",
"valueSize": 1,
"minValue": 15,
"maxValue": 60,
"defaultValue": 15,
"unsigned": true,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": true
},
{
"$if": "firmwareVersion >= 24.2",
"label": "Trigger Interval",
"description": "Set the trigger interval for motion sensor re-activation.",
"unit": "seconds",
"valueSize": 1,
"minValue": 15,
"maxValue": 255,
"defaultValue": 15,
"unsigned": true,
"readOnly": false,
"writeOnly": false,
"allowManualEntry": true
}
],
"6": {
"label": "Motion Sensor Sensitivity",
"description": "Adjust sensitivity of the motion sensor.",
Expand Down

0 comments on commit 6adb15c

Please sign in to comment.