allow more flexibility in webhook

This commit is contained in:
Matthias 2018-07-07 13:39:21 +02:00
parent 25250f7c10
commit a4643066a8

View File

@ -100,6 +100,16 @@ CONF_SCHEMA = {
},
'required': ['enabled', 'token', 'chat_id']
},
'webhook': {
'type': 'object',
'properties': {
'enabled': {'type': 'boolean'},
'webhookbuy': {'type': 'object'},
'webhooksell': {'type': 'object'},
'webhookstatus': {'type': 'object'},
'chat_id': {'type': 'string'},
},
},
'db_url': {'type': 'string'},
'initial_state': {'type': 'string', 'enum': ['running', 'stopped']},
'internals': {