TTS to alexa - 1.5 must be 1,5

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 :wink:

What about

Hello {{ (1.5 | replace('.', ',')) }}

Returns: Hello 1,5

1 Like

Thanks, this is the solution for this issue.