Merge pull request #634 from evilmarty/enhancement/ifttt

Allow formatting of IFTTT event key with action name
This commit is contained in:
JonnyWong16 2016-03-26 18:08:45 -07:00
commit dbc62542ef
2 changed files with 9 additions and 6 deletions

View file

@ -1456,7 +1456,7 @@ class WebInterface(object):
if this_agent:
logger.debug(u"Sending test %s notification." % this_agent['name'])
notifiers.send_notification(this_agent['id'], subject, body, **kwargs)
notifiers.send_notification(this_agent['id'], subject, body, 'test', **kwargs)
return "Notification sent."
else:
logger.debug(u"Unable to send test notification, invalid notification agent ID %s." % agent_id)