Closed technicalpickles closed 5 years ago
I did some creative googling and came across this thread on onn the forums: https://community.home-assistant.io/t/kodi-media-player-platform-cec-doubts/23138/2 ... Basically they didn't have script.json-cec installed.
I know I had installed it at some point, and it had definitely worked. I checked the kodi addons, and sure enough it was installed but not enabled.
Home Assistant Community
OK, answering myself: entity_id: should be the device name shown in States, not what I supposed. I´m having another issue though. I´m getting this error now, with a (i suppose) correct conffig: 2017-09-01 20:26:51 ERROR (MainThread) [homeassistant.components.media_player.kodi] Run API method media_player.cuarto.Addons.ExecuteAddon({‘addonid’: ‘script.json-cec’, ‘params’: OrderedDict([(‘command’, ‘standby’)])}) error: {‘message’: ‘Invalid params.’, ‘code’: -32602} I´ve revised the github pa...
Looks like this was reported at https://github.com/home-assistant/home-assistant/issues/13914 but no progress was made.