Add pollMode

This commit is contained in:
andig 2021-12-07 14:06:05 +01:00
parent 68a826e955
commit 870597550e

View file

@ -112,7 +112,7 @@
"type": "object",
"properties": {
"mode": {
"type": "string"
"$ref": "#/definitions/pollMode"
},
"interval": {
"$ref": "#/definitions/duration"
@ -173,6 +173,13 @@
"pv",
"minpv"
]
},
"pollMode": {
"enum": [
"alway",
"charging",
"connected"
]
}
}
}