Hey, I am a complete noob but there is this super important thing I need to work out:
There is a random joke api: ( https://witzapi.de/api/joke ) that tells a random joke at every refresh.
YEY I AM THAT BAD… I have no idea how to make HA read that line and how to enter the resulting text=joke to an automation code for TTS.
Since this could be the single most important use of HA for me and my depression I really hope anyone can halp me!
use the data_template option to call the TTS service with the value of the sensor.
If you need help more detailed it would be great if you could specify your question more detailed.
What would you like to do with the joke? Having it called every 1 minute? On request? Where is it sent to? Etc.