Skip to content

Commit

Permalink
Update schema (Koenkk#5786)
Browse files Browse the repository at this point in the history
* Split groups and devices schema into definition

* Update settings schema
  • Loading branch information
nurikk authored Jan 17, 2021
1 parent 0e6779d commit dbf84e7
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions lib/util/settings.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,7 @@
"type": "string",
"title": "Log directory",
"description": "Location of log directory",
"examples": ["data/log/%TIMESTAMP%"],
"default": "data/log/%TIMESTAMP%"
"examples": ["data/log/%TIMESTAMP%"]
},
"log_file": {
"type": "string",
Expand Down Expand Up @@ -356,21 +355,18 @@
"homeassistant_discovery_topic": {
"type": "string",
"title": "Homeassistant discovery topic",
"examples": ["homeassistant"],
"default": ["homeassistant"]
"examples": ["homeassistant"]
},
"homeassistant_status_topic": {
"type": "string",
"title": "Home Assistant status topic",
"examples": ["homeassistant/status"],
"default": ["homeassistant/status"]
"examples": ["homeassistant/status"]
},
"timestamp_format": {
"type": "string",
"title": "Timestamp format",
"description": "Log timestamp format",
"examples": ["YYYY-MM-DD HH:mm:ss"],
"default": ["YYYY-MM-DD HH:mm:ss"]
"examples": ["YYYY-MM-DD HH:mm:ss"]
},
"adapter_concurrent": {
"title": "Adapter concurrency",
Expand Down Expand Up @@ -479,7 +475,7 @@
"retention": {
"type": "number",
"title": "Retention",
"description": "Sets the MQTT Message Expiry in seconds"
"description": "Sets the MQTT Message Expiry in seconds, Make sure to set mqtt.version to 5"
},
"qos": {
"type": "number",
Expand Down

0 comments on commit dbf84e7

Please sign in to comment.