Alerts with NINA integration

Hi,

I am using the NINA integration to get alerts and notifications in HomeAssistant from the NINA Warning App.
This night, we had warnings for heavy rain and so on - which caused several warning messages in the app.

The Integration has 5 Sensors in total…
This caused, that I had different messages on all 5 Sensors after some time…

First:
two Sensors had a moderate warning, one had a severe warning

Second:
two moderate warnings, two severe warnings:

Third:
two moderate warnings, three severe warnings (I’ve reduced the content)…
grafik

Now, I am thinking how I could change this…
I want to display only one Warning message - but since the messages can be distributed through all sensors, I think, I need a template which is checking all sensors - something like that:

Check when the state for sensor_1, sensor_2, sensor_3, sensor_4, sensor_5 has changed
Use only the latest sensor data

This could mean that:
Sensor_1 is getting a moderate warning → this will be displayed
Then, Sensor_2 is getting a moderate warning → this will be displayed
Sensor_1 will receive a severe warning → this will be displayed
Sensor_3 receives a severe warning → this will be displayed

Do you have an idea how I could acheive this?
Thanks a lot!

1 Like