When calling the Kodi service I have the following
{
"entity_id": "media_player.kodi",
"item": {
"params": "VolumeUp"
},
"method": "Input.ExecuteAction"
}
But this doesn’t work and gives errors, I’ve tried several flavors but can’t seem to find the correct one. Anyone who has this working and cares to share?
Errors I get are:
Run API method media_player.kodi.Input.ExecuteAction({'item': OrderedDict([('params', 'VolumeUp')])}) error: {'code': -32602, 'data': {'method': 'Input.ExecuteAction', 'stack': {'message': 'Missing parameter', 'name': 'action', 'type': 'string'}}, 'message': 'Invalid params.'}
Run API method media_player.kodi.Input.Action({'item': OrderedDict([('params', 'VolumeUp')])}) error: {'code': -32601, 'message': 'Method not found.'}
Thanks