Hello,
I’m trying to make some actionable notifications with the iOS app, but I can’t get the actions to work.
I’m using Hass.io automation editor to do the automation work, and got the following in the “Service data” field;
{
“data”: [
{
“push”: [
{
“badge”: 5,
“category”: ““ALARM””
}
]
}
],
“message”: “Vil du tilkoble alarmen?”
}
I get the following error in the log;
2017-09-20 07:37:07 ERROR (MainThread) [homeassistant.core] Invalid service data for notify.ios_mathias__iphone_7_plus: expected dict for dictionary value @ data[‘data’]. Got [OrderedDict([(‘push’, [OrderedDict([(‘badge’, 5), (‘category’, ‘ALARM’)])])])]
Any advice?
Additional question - what does the badge-key do?