Creating custom services

I want to call an online tts service using home assistant. For this, I created a hello_service using the Custom service at Integration Services | Home Assistant Developer Docs. I integrated it into my home assistant, I can see it in service calls. Now I want to call an online tts service using the hello_service template. Can you guide me how can I do this?

2 Likes

this code helped me you might want to take a look. Page