MrBartusek / MeteoalarmCard

Meteoalarm, Météo-France and DWD severe weather warnings card for Home Assistant Lovelace UI ⛈️
MIT License
134 stars 49 forks source link

Unknown event type: Coastalevent #234

Closed metbril closed 5 months ago

metbril commented 9 months ago

Describe the bug

The coastal event (high water warning) is not (yet) recognized.

state attributes:

language: nl-NL
category: Met
event: awareness_type=07,awareness_level=3.0
responseType: Monitor
urgency: Future
severity: Severe
certainty: Likely
effective: "2023-12-21T10:21:00+00:00"
onset: "2023-12-21T16:00:00+00:00"
expires: "2023-12-22T04:59:59+00:00"
senderName: Rijkswaterstaat
headline: Coastalevent - Waarschuwingen voor Zuid-Holland - Nederland
description: >-
  De verwachte waterstanden in de sector komen boven het alarmpeil
  (herhalingstijd eens per 5 jaar). Buitendijkse gebieden lopen onder en de
  meeste coupures en stormvloedkeringen zullen gesloten worden. In de sector
  wordt dijkbewaking ingesteld.
instruction: >-
  Meer informatie:
  https://www.rijkswaterstaat.nl/water/waterdata-en-waterberichtgeving/waterbericht/index.aspx
web: http://meteoalarm.eu/nl-NL/0/0/NL009-Zuid-Holland.html
contact: wmcn-waterkamer@rws.nl
awareness_type: 7; coastalevent
awareness_level: 3; orange; Severe
attribution: Information provided by MeteoAlarm
device_class: safety
friendly_name: Meteoalarm Zuid-Holland

Integration state attributes

No response

Screenshots

image image

Card version

v2.6.0

Installation type

Home Assistant Community Store (HACS)

Card Configuration

type: custom:meteoalarm-card entities:

Integration type

Meteoalarm

Integration configuration

YAML (configuration.yaml)

Integration Configuration

MrBartusek commented 5 months ago

Hey, this issue is caused by your local authority Rijkswaterstaat sending events in improper formats. You can override this headline using override_headline configuration option.