Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

[HELP NEEDED ]Kodi call_method to stop Kodi addon

$
0
0

@thundergreen wrote:

Dear all,

I Try to start and stop an addon of kodi but did not really understand how to od that.
#The first question would be:

  1. How to find out the id of the addon
  2. How to "translate this command into hass command?
{
  "description": "Enables/Disables a specific addon",
  "permission": "ManageAddon",
  "type": "method",
  "params": [
    {
      "type": "string",
      "name": "addonid",
      "required": true
    },
    {
      "$ref": "Global.Toggle",
      "name": "enabled",
      "required": true
    }
  ],
  "returns": {
    "type": "string"
  }
}

Thanks for your help

Posts: 8

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles