xlcnd / meteoalarmeu

A 'custom component' for Home-Assistant for Weather Warnings from meteoalarm.eu
GNU General Public License v3.0
20 stars 3 forks source link

Push notification questions #5

Closed BliXem1 closed 3 years ago

BliXem1 commented 3 years ago

First of all, thanks for your dedication for this great plugin! I have a question about the notification push message. See: https://www.meteoalarm.eu/ne_NL/0/0/BE007-Limburg%20/%20Limbourg.html. In this case I've got 2 messages, but when I test the notifcation only one will be showed. Can you tell me your automation to see all alerts? And if possible and not to much work, is it possible to only display the NL language and not the FR?

xlcnd commented 3 years ago

Thanks.

I presume you copied the automation from the README file... that is only an example of what you can do and that one only pushes one persistent notification. You can change that, following similar examples on the HA Forum. The component pulls all messages from the server. You can see that if you 'click' the binary sensor.

In relation to filter the message, that is difficult at 'component' level because the server sends this information in a 'free form' that is different for every country and in some cases varies by region. However it is easy to do it on the automation template. Once again, there are several examples on the Forum for similar things.

BliXem1 commented 3 years ago

Will check that out, do you have the link for the HA forum (with the similar examples)? Can't find it :(

xlcnd commented 3 years ago

No I don't have the link, but I remember to see examples of similar things on the Forum.

Anyway, if your national agency revises the messages on time, you will get the other messages too in a following update of the sensor!

BliXem1 commented 3 years ago

I notice it already, aight. Thanks for your reply. Fixed for me :)