I want to send a sensor state to alexa as tts.
In german language we use ,
instead of .
So when I send a state with 1.5 to alexa it will tell me “first may”.
Is there a way to convert it to 1,5?
Maybe a template with split
@petro again
I want to send a sensor state to alexa as tts.
In german language we use ,
instead of .
So when I send a state with 1.5 to alexa it will tell me “first may”.
Is there a way to convert it to 1,5?
Maybe a template with split
@petro again
What about
Hello {{ (1.5 | replace('.', ',')) }}
Returns: Hello 1,5
Thanks, this is the solution for this issue.