Adds image attribute to html5 notify (#9832) (#9835)

This commit is contained in:
Charles Garwood 2017-10-12 11:01:12 -04:00 committed by Pascal Vizeli
parent be5c0b2d92
commit 5fcb0990c3

View File

@ -94,8 +94,8 @@ NOTIFY_CALLBACK_EVENT = 'html5_notification'
# Badge and timestamp are Chrome specific (not in official spec)
HTML5_SHOWNOTIFICATION_PARAMETERS = (
'actions', 'badge', 'body', 'dir', 'icon', 'lang', 'renotify',
'requireInteraction', 'tag', 'timestamp', 'vibrate')
'actions', 'badge', 'body', 'dir', 'icon', 'image', 'lang',
'renotify', 'requireInteraction', 'tag', 'timestamp', 'vibrate')
def get_service(hass, config, discovery_info=None):