Skip to content

Commit

Permalink
v4.0.0 updates
Browse files Browse the repository at this point in the history
- Fixed error in config.schema.json which was blocking display of occupancy sensor type.
- Added note in README.md to indicate that `precip_accum_local_day` not available in local API.
  • Loading branch information
DMBlakeley committed Nov 6, 2023
1 parent 542cd9b commit 54ca06a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ sensor_type `{2}` | value_key | metric units | std units | additional_properties
`Motion Sensor` | wind_gust | m/s | mi/hr | motion_trigger_value | 5 | 10 |
`Occupancy Sensor {3}{4}` | barometric_pressure | mb | inHg | occupancy_trigger_value | 1000 | 30 |
` ` | precip | mm/min | in/hr | occupancy_trigger_value | 0.1 | 0.25 |
` ` | precip_accum_local_day | mm | in | occupancy_trigger_value | 25 | 1 |
` ` | precip_accum_local_day | mm | in | occupancy_trigger_value | 25 | 1 | not available with Local API
` ` | solar_radiation | W/m^2 | W/m^2 | occupancy_trigger_value | 1000| 1000 |
` ` | uv | Index | Index | occupancy_trigger_value | 3 | 3 |
` ` | wind_direction | degrees | degrees | occupancy_trigger_value | 360 | 360 |
Expand Down
2 changes: 1 addition & 1 deletion config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
"uv"
],
"condition": {
"functionBody": "if (model.sensors[arrayIndices] && model.sensors[arrayIndices].sensor_type && model.sensors[arrayIndices].sensor_type === 'Temperature Sensor') { return true; } else { return false; };"
"functionBody": "if (model.sensors[arrayIndices] && model.sensors[arrayIndices].sensor_type && model.sensors[arrayIndices].sensor_type === 'Occupancy Sensor') { return true; } else { return false; };"
}
},
"trigger_value": {
Expand Down

0 comments on commit 54ca06a

Please sign in to comment.