Is this supposed to work? Because it does not work and produces this error in the log:
2020-12-28 13:48:07 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140577615322560] extra keys not allowed @ data['data']
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1399, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['data']
Using the Sonos service / calls, the use of “all” works for the entity_id. You are using the tts service so you must provide actual entity_id (s) in the data field. Alternatively, you could create a group (in your groups.yaml file), restart HA, and then pass the group name in the entity_id field instead.