I am trying to execute a Denon plugin action via Python. So far I figured out this:
- Code: Select all
DenonPlugin = indigo.server.getPlugin('org.cynic.indigo.denon-av')
if DenonPlugin.isEnabled():
DenonProps = {'source': 'CD'}
DenonPlugin.executeAction('set_source', props=DenonProps)
But when I try to run it I get:
- Code: Select all
Cynical Denon Error no method "set_source" for action "plugin action"
Any ideas?