Made AutoRemote notification text optional

This commit is contained in:
Fabio Manganiello 2018-10-12 00:41:23 +02:00
parent eab2ba2075
commit db89c39ed8

View file

@ -75,7 +75,7 @@ class AutoremotePlugin(Plugin):
self.logger.info('Received response from AutoRemote: {}'.format(response.text)) self.logger.info('Received response from AutoRemote: {}'.format(response.text))
@action @action
def send_notification(self, text, key=None, password=None, title=None, def send_notification(self, text=None, key=None, password=None, title=None,
target=None, sender=None, ttl=None, group=None, target=None, sender=None, ttl=None, group=None,
sound=None, vibration=None, url=None, id=None, sound=None, vibration=None, url=None, id=None,
action=None, icon=None, led=None, ledon=None, action=None, icon=None, led=None, ledon=None,