I am using the alexa_media_player integration. It is connected successfully and I can control media etc.
However I cant get the notify.alexa_media service to work. It keeps throwing the error
“required key not provided @ data[‘message’]”
following the example at “https://github.com/custom-components/alexa_media_player/wiki/Automation-examples” I am using the following from the services menu within hass.
data:
data:
type: tts
target:
- media_player.brian_s_echo
message: 'Ding-dong. Someone is at the door.'
the full error output is
Sat Dec 21 2019 12:04:12 GMT-0800 (Pacific Standard Time)
required key not provided @ data['message']
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service
connection.context(msg),
File "/usr/src/homeassistant/homeassistant/core.py", line 1213, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: required key not provided @ data['message']
Does anyone have any ideas? I feel like I am doing something simple wrong in formatting the request