Hi, I am trying to integrate alexa actions followed by this guide Home · keatontaylor/alexa-actions Wiki · GitHub
The problem is, that even if I do everything as instructed, after trying to call the servis like this:
service: script.activate_alexa_actionable_notification
data:
text: What would you like the thermostat set to?
event_id: ask_for_temperature
alexa_device: media_player.bedroom_echo
it throws an error: Unable to find service media_player.play_media
Logs:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:140
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 16:52:13 (16 occurrences)
Last logged: 20:37:07
[2885741296] Error handling message: Unable to find service media_player.play_media (unknown_error)
My script configuration:
script:
activate_alexa_actionable_notification:
description: 'Activates an actionable notification on a specific echo device'
fields:
text:
description: 'The text you would like alexa to speak.'
example: 'What would you like the thermostat set to?'
event_id:
description: 'Correlation ID for event responses'
example: 'ask_for_temperature'
alexa_device:
description: 'Alexa device you want to trigger'
example: 'media_player.bedroom_echo'
sequence:
- service: input_text.set_value
data:
entity_id: input_text.alexa_actionable_notification
value: '{"text": "{{ text }}", "event": "{{ event_id }}"}'
- service: media_player.play_media
data:
entity_id: "{{ alexa_device }}"
media_content_type: skill
media_content_id: <Your Skill ID>
I found this: Unable to find service media_player.play_media
but there is nothing that could help me.
Does anyone have any idea what can I do to fix this?