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",
"object"
],
"additionalProperties": {
"type": "string", "type": "string",
"enum": [ "enum": [
"on", "on",
"off", "off",
"silent" "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", "object"],
"additionalProperties": {
"type": "string", "type": "string",
"enum": TELEGRAM_SETTING_OPTIONS, "enum": TELEGRAM_SETTING_OPTIONS,
},
"default": "on", "default": "on",
}, },
"exit_cancel": { "exit_cancel": {