Skip to content

Commit

Permalink
fix: settings defaults and step size
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinBol committed Feb 16, 2024
1 parent 03f9931 commit 0ff7849
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
{
"id": "esp32_led",
"type": "checkbox",
"value": true,
"value": false,
"label": {
"en": "ESP32 status LED"
},
Expand Down Expand Up @@ -408,7 +408,7 @@
"label": {
"en": "mmWave sensitivity"
},
"value": 5,
"value": 7,
"min": 0,
"max": 9,
"hint": {
Expand All @@ -421,7 +421,7 @@
"label": {
"en": "mmWave distance"
},
"value": 3,
"value": 315,
"min": 0,
"max": 800,
"step": 15,
Expand All @@ -438,10 +438,10 @@
"label": {
"en": "mmWave on latency"
},
"value": 3,
"value": 0,
"min": 0,
"max": 60,
"step": 0.5,
"max": 2,
"step": 0.25,
"units": {
"en": "seconds"
},
Expand All @@ -455,10 +455,10 @@
"label": {
"en": "mmWave off latency"
},
"value": 3,
"value": 15,
"min": 1,
"max": 60,
"step": 1,
"max": 600,
"step": 5,
"units": {
"en": "seconds"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
{
"id": "esp32_led",
"type": "checkbox",
"value": true,
"value": false,
"label": { "en": "ESP32 status LED" },
"hint": { "en": "Enable or disable the ESP32 status LED." }
}
Expand Down
16 changes: 8 additions & 8 deletions drivers/everything-presence-one/driver.settings.compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"id": "mmwave_sensitivity",
"type": "number",
"label": { "en": "mmWave sensitivity" },
"value": 5,
"value": 7,
"min": 0,
"max": 9,
"hint": {
Expand All @@ -82,7 +82,7 @@
"id": "mmwave_distance",
"type": "number",
"label": { "en": "mmWave distance" },
"value": 3,
"value": 315,
"min": 0,
"max": 800,
"step": 15,
Expand All @@ -95,10 +95,10 @@
"id": "mmwave_on_latency",
"type": "number",
"label": { "en": "mmWave on latency" },
"value": 3,
"value": 0,
"min": 0,
"max": 60,
"step": 0.5,
"max": 2,
"step": 0.25,
"units": { "en": "seconds" },
"hint": {
"en": "Configure the on latency of the mmWave sensor. On latency sets for how long the object must be moving for, before it is considered as moving and thus triggering the sensor. This is important for accurate mmWave occupancy detection. See the Everything Presence One documentation for more information."
Expand All @@ -108,10 +108,10 @@
"id": "mmwave_off_latency",
"type": "number",
"label": { "en": "mmWave off latency" },
"value": 3,
"value": 15,
"min": 1,
"max": 60,
"step": 1,
"max": 600,
"step": 5,
"units": { "en": "seconds" },
"hint": {
"en": "Configure the off latency of the mmWave sensor. Off latency sets for how long the object must be still, before it is considered as non-moving and thus resetting the sensor. This is important for accurate mmWave occupancy detection. See the Everything Presence One documentation for more information."
Expand Down

0 comments on commit 0ff7849

Please sign in to comment.