NINA Integration - Keywords for Filtering unwanted Messages

Suggested Feature: Some kind of Filtering-Table with Wildcard-Keywords for “Headline-Attribute”

It would be great if there is an Option for suppressing unwanted Messages. In my Case there are many “Hochwasserinformation” from several issuers and with different descriptions in the Headline. I don`t need this. This feature is like the “Covid-Filtering” Option in the beginning of this Intergration.

+1 same here. Since days I get this “lots of rain” warnings.

Is the headline filter not working?

2 Likes

ooh, when did that happen? :smile:

image

Pure magic :grin:

2 Likes

That was solved quickly :slight_smile:

Where did you get this config screen?

And do you also get the warning headline, even if you get several warning? Here if I receive one warning, I get the headline. If I get several warnings, I get “Orange Warnung”

You can find this Screen in your “NINA_integration” - Configuration

Im using a Set of Condtional-Cards which filtering the state “on” and “off” of the first two Warning-Sensors
The States “on on”, “on off”, “off on”, “off off” brings up an individual card with the Headline of Sensor 1 or 2 - If the first 2 Sensors are Active theres a blinking Alert-Card.

By clicking on a Card/Headline you will be redirected to a landing Page with all possible (5) Sensors and Headlines:

Card on Landing-Page:

type: vertical-stack
cards:
  - type: conditional
    conditions:
      - entity: binary_sensor.warning_city_1
        state: 'on'
    card:
      type: entities
      style: |
        ha-card {
        background-color: orange;
        font-size: 16px
        }
      entities:
        - type: attribute
          entity: binary_sensor.warning_city_1
          attribute: headline
          name: city
          image: local/nina-icon.png
  - type: conditional
    conditions:
      - entity: binary_sensor.warning_city_2
        state: 'on'
    card:
      type: entities
      style: |
        ha-card {
        background-color: orange;
        font-size: 16px
        }
      entities:
        - type: attribute
          entity: binary_sensor.warning_city_2
          attribute: headline
          name: city
          image: local/nina-icon.png
  - type: conditional
    conditions:
      - entity: binary_sensor.warning_city_3
        state: 'on'
    card:
      type: entities
      style: |
        ha-card {
        background-color: orange;
        font-size: 16px
        }
      entities:
        - type: attribute
          entity: binary_sensor.warning_city_3
          attribute: headline
          name: city
          image: local/nina-icon.png
  - type: conditional
    conditions:
      - entity: binary_sensor.warning_city_4
        state: 'on'
    card:
      type: entities
      style: |
        ha-card {
        background-color: orange;
        font-size: 16px
        }
      entities:
        - type: attribute
          entity: binary_sensor.warning_city_4
          attribute: headline
          name: city
          image: local/nina-icon.png
  - type: conditional
    conditions:
      - entity: binary_sensor.warning_city_5
        state: 'on'
    card:
      type: entities
      style: |
        ha-card {
        background-color: orange;
        font-size: 16px
        }
      entities:
        - type: attribute
          entity: binary_sensor.warning_city_5
          attribute: headline
          name: city
          image: local/nina-icon.png
view_layout:
  position: main

Reg-Expression of additional Word looks like:
image

1 Like

Many thanks - now that I got the filters set up, my area is marked safe from rain again :slight_smile:

1 Like