Es treten Windböen mit Geschwindigkeiten zwischen 50 km/h (14m/s, 28kn, Bft 7) und 60 km/h (17m/s, 33kn, Bft 7) aus südwestlicher Richtung auf. In Schauernähe muss mit Sturmböen um 70 km/h (20m/s, 38kn, Bft 8) gerechnet werden.
And I want to replace:
km/h with Kilometer pro Stunde
And remove:
(14m/s, 28kn, Bft 7)
(17m/s, 33kn, Bft 7)
(20m/s, 38kn, Bft 8)
The best way seems to be a transformation with regex, right? Does anybody have a clue how to do it?
I addition to this, I want to send the warning to Alexa.
AmazonEchoDotWohnzimmer_Speak.sendCommand("Warnung des Deutschen Wetterdienstes" + DWD_Warnung_headline.state.toString + DWD_Warnung_description.state.toString + DWD_Warnung_instruction.state.toString)
Alexa doesnt know km/h so it sounds really weired. I’m looking now for a solution, how to replace eg. km/h with “Kilometer pro Stunde” and removing all content of the ( … ) within this rule.