Skip to content

Commit

Permalink
Add pollMode
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Dec 7, 2021
1 parent 68a826e commit 8705975
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"type": "object",
"properties": {
"mode": {
"type": "string"
"$ref": "#/definitions/pollMode"
},
"interval": {
"$ref": "#/definitions/duration"
Expand Down Expand Up @@ -173,6 +173,13 @@
"pv",
"minpv"
]
},
"pollMode": {
"enum": [
"alway",
"charging",
"connected"
]
}
}
}

0 comments on commit 8705975

Please sign in to comment.