I am trying to create a way to enter a text message into a dashboard card and that text be then turned into audio delivered over my Sonos speakers.
I have gotten this to work - kind of - but for some reason, after I enter text a few times, it completely freezes up the Sonos speaker and will not longer work anymore.
My configuration is as follows:
alias: Basement - TTS
description: ""
trigger:
- platform: state
entity_id:
- input_text.basement_tts
for:
hours: 0
minutes: 0
seconds: 1
condition: []
action:
- service: tts.speak
data:
media_player_entity_id: media_player.basement_sonos
message: "{{ states('input_text.basement_tts') }}"
target:
entity_id: tts.piper
mode: single
I’m also running into a similar problem trying to get a Text Helper to display the latest message entered onto a digital screen. It works on the first time, but then freezes the device after.
Any thoughts/help would be appreciated!