Add "sane" defaults to protection triggers

This commit is contained in:
Matthias
2021-09-20 20:08:48 +02:00
parent fd23ab3d64
commit 3ce05c0d54
3 changed files with 12 additions and 0 deletions

View File

@@ -284,6 +284,15 @@ CONF_SCHEMA = {
'enum': TELEGRAM_SETTING_OPTIONS,
'default': 'off'
},
'protection_trigger': {
'type': 'string',
'enum': TELEGRAM_SETTING_OPTIONS,
'default': 'off'
},
'protection_trigger_global': {
'type': 'string',
'enum': TELEGRAM_SETTING_OPTIONS,
},
}
},
'reload': {'type': 'boolean'},