Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Sending a TTS message to a Sonos speaker - Error calling service

$
0
0

@davidro wrote:

Hi folks. I thought I had the TTS service set up correctly but alas, I am getting an error:

"Failed to call service google_say/undefined. required key not provided@datatservicel. Got None "

My Config YAML is configured as follows:

# Text to speech
tts:
  - platform: google_translate
    cache: true
    cache_dir: /tmp/tts
    time_memory: 300
    base_url: http://192.168.1.10:8123
    service_name: google_say

I’m trying to use an Entity Button to trigger a test message:

entity: media_player.kitchen
hold_action:
  action: none
name: Test
show_icon: true
show_name: true
tap_action:
  action: call-service
  service: google_say
entity_id: media_player.kitchen
data:
  message: May the Force be with you.
type: entity-button

When I click the button, I get the following error message:

“Failed to call service google_say/undefined. required key not provided@datatservicel. Got None”

Any pointers to my error would be gratefully received!

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>