alexa_media_player: New Routine Service doesn’t work.

Ok, so sequence works for me, but I don’t get routines working.

I have a routine called “test” and I tried it this way

“entity_id”: “media_player.myalexadevice”,
“media_content_id”: “test”,
“media_content_type”: “routine”

but it doesn’t work.

When I say “alexa, test” it works.

This is the error I get when I trigger a script with the data from above.

Error doing job: Task exception was never retrieved Traceback (most recent call last): File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/”, line 291, in _handle_service_platform_call await func(entity, data) File “/usr/local/lib/python3.7/concurrent/futures/”, line 57, in run result = self.fn(*self.args, **self.kwargs) File “/config/custom_components/alexa_media/”, line 536, in play_media self.alexa_api.run_routine(media_id) File “/config/deps/lib/python3.7/site-packages/alexapy/”, line 127, in run_routine a_utterance = automation[‘triggers’][0][‘payload’][‘utterance’] KeyError: ‘utterance’

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 25 (12 by maintainers)

Most upvoted comments

@h4nc Can you provide the script that’s failing to #147; we’ll take a closer look to see if it’s reproduceable. Wasn’t sure if it’s the same as listed above.