Support backwards-compatible sell setting

This commit is contained in:
Matthias 2021-05-27 13:00:05 +02:00
parent c5c323ca88
commit e0083bc58e

View File

@ -261,7 +261,7 @@ CONF_SCHEMA = {
'default': 'off'
},
'sell': {
'type': 'object',
'type': ['string', 'object'],
'additionalProperties': {
'type': 'string',
'enum': TELEGRAM_SETTING_OPTIONS