feat: Update config_schema with support for exit_fill

This commit is contained in:
Matthias 2024-11-06 20:07:34 +01:00
parent c58b1f0fd2
commit c9718de24c
2 changed files with 16 additions and 7 deletions

View File

@ -682,12 +682,18 @@
}, },
"exit_fill": { "exit_fill": {
"description": "Telegram setting for exit fill signals.", "description": "Telegram setting for exit fill signals.",
"type": "string", "type": [
"enum": [ "string",
"on", "object"
"off",
"silent"
], ],
"additionalProperties": {
"type": "string",
"enum": [
"on",
"off",
"silent"
]
},
"default": "on" "default": "on"
}, },
"exit_cancel": { "exit_cancel": {

View File

@ -517,8 +517,11 @@ CONF_SCHEMA = {
}, },
"exit_fill": { "exit_fill": {
"description": "Telegram setting for exit fill signals.", "description": "Telegram setting for exit fill signals.",
"type": "string", "type": ["string", "object"],
"enum": TELEGRAM_SETTING_OPTIONS, "additionalProperties": {
"type": "string",
"enum": TELEGRAM_SETTING_OPTIONS,
},
"default": "on", "default": "on",
}, },
"exit_cancel": { "exit_cancel": {