How does Yatse send the CEC Activate command to Kodi (from the Yatse power menu)? I would like to do something similar using Home Assistant so I looked through the JSON RPC API docs but couldn’t find anything. Is there an undocumented method I can call for this?
Thanks. I realize now that Yatse is using Kodi’s EventServer for the built-in actions. It’s not as clean as making a JSON RPC call but I can do what I want with the Python EventClient included in the Kodi source.