Skip to content

Commit

Permalink
Update config.schema.json
Browse files Browse the repository at this point in the history
Add `noPressure` and `noHumidity` config.json options.
  • Loading branch information
ebaauw committed Sep 1, 2019
1 parent fcca5ca commit 89a3cbc
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,33 @@
"type": "integer",
"minimum": 1,
"maximum": 60
},
"noPressure": {
"title": "No Pressure",
"description": "Don't expose Pressure sensor. Default: false.",
"type": "boolean"
},
"noHumidity": {
"title": "No Humidity",
"description": "Don't expose Humidity nor Pressure sensor. Default: false.",
"type": "boolean"
}
}
}
},
"form": [
"name",
"apikey",
"locations",
{
"type": "fieldset",
"expandable": true,
"title": "Advanced Settings",
"description": "Don't change these, unless you understand what you're doing.",
"items": [
"timeout",
"noPressure",
"noHumidity"
]
}
]
}

0 comments on commit 89a3cbc

Please sign in to comment.