Since some days i get this error:
Error executing script: Unable to find service notify/echo_dot_di_nicola
the automation is:
- id: Parla_alexa
alias: Parla Alexa da Mqtt
trigger:
- platform: mqtt
topic: parla_alexa/+
action:
- data_template:
message: '{{ trigger.payload }}'
data:
type: tts
method: speak
service_template: notify.{{ trigger.topic.split('/')[-1] }}
the topic is
parla_alexa/echo_dot_di_nicola
two days ago it worked perfectly, I can’t understand what happened.
Yesterday I tried to create and run a Python_script but is the same error:
hass.services.call('notify', 'echo_dot_di_nicola', {'message': 'messaggio', 'data':{'type':'tts', 'method':'speak'}})
thank you all