Made AutoRemote notification text optional

This commit is contained in:
Fabio Manganiello 2018-10-12 00:41:23 +02:00
parent eab2ba2075
commit db89c39ed8
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class AutoremotePlugin(Plugin):
self.logger.info('Received response from AutoRemote: {}'.format(response.text))
@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,
sound=None, vibration=None, url=None, id=None,
action=None, icon=None, led=None, ledon=None,