jc-23 / home-assistant

Home of AWTRIX DWD Weather Warning blueprints, yet more to come
0 stars 0 forks source link

Enable handling of DWD Vorwarnung #1

Open Kogoro opened 2 months ago

Kogoro commented 2 months ago

First thanks for the amazing blueprint! I really really like the look and feel and am constantly informed. Nevertheless, if I could wish for things, I would like to have the ability to add Vorwarnungen from the DWD. This is a separate entity and the text/description of the event is slightly different.

So the text of the app says: "Warnstufe 3 vor VORABINFORMATION SCHWERES GEWITTER Di 15:00 - Mi 04:00".

I would like to shorten the text to "Vorwarnstufe 3 Schweres Gewitter Di 15:00 - Mi 04:00". It would be also optimal, if we could specify different colors and/or sounds so that glasses wearing persons can differentiate the warnings by color/sound.

jc-23 commented 2 months ago

Thanks for your feedback. Yes, the first version just prints every warning and does not differentiate. Also the grammar is not correct in all cases. I am working on a new version that shows an improved output.

I can include color customizing as well. In current version different colors are used based on severity level. They match the colors used by DWD, but I admit level 1 and level 2 colors are too similar on the Ulanzi.

jc-23 commented 3 weeks ago

Vorwarnungen are now fully implemented. They show as "Vorwarnstufe X: ...". Still working on color customization.