How to start kodi addon through AppDaemon

Hello,

I want to use appdaemon for starting a kodi addon. the yaml version:

- service: kodi.call_method
    data_template:
      entity_id: media_player.kodi
      method: Addons.ExecuteAddon
      addonid: "script.securitycam"
      params:
        command: activate

can someone help in getting this to appdeamon?

Use the kodi api. It is well documented on the kodi wiki.