MrBartusek / MeteoalarmCard

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

Card won't be shown when a warning is active #265

Open ChristophCaina opened 1 week ago

ChristophCaina commented 1 week ago

Describe the bug

I am using the Card with NINA and with DWD Warnings. I had a warning from DWD - but instead of the warning, only a grey bar was rendered.

Now, the warning is gone and the card is visible again (with no warnings)...

red is the NINA sensor - without warnings, blue the one from DWD with an active warning at that time (see screenshot)

Integration state attributes

No response

Screenshots

image

Card version

v2.7.1

Installation type

Home Assistant Community Store (HACS)

Card Configuration

type: custom:meteoalarm-card
integration: dwd
entities:
  - entity: sensor.kreis_boblingen_vorwarnstufe
  - entity: sensor.kreis_boblingen_aktuelle_warnstufe
override_headline: true
disable_swiper: true
hide_caption: true
hide_when_no_warning: false
scaling_mode: headline_and_scale

Integration type

Deutscher Wetterdienst (DWD)

Integration configuration

GUI

Integration Configuration

No response

MrBartusek commented 1 week ago

please provide integration state attributes for all nina and dwd entities that you are using in Integration state attributes section with markdown code blocks

ChristophCaina commented 1 week ago

ups, sorry... is this what you need?

region_name: Kreis Böblingen
region_id: 108115000
last_update: 2024-07-06T16:14:17.792000+00:00
warning_count: 0
attribution: Data provided by DWD
friendly_name: Kreis Böblingen Aktuelle Warnstufe

region_name: Kreis Böblingen
region_id: 108115000
last_update: 2024-07-06T16:14:17.792000+00:00
warning_count: 0
attribution: Data provided by DWD
friendly_name: Kreis Böblingen Vorwarnstufe

I will do a test, since I am using the card on the new sections dashboard from home-Assistant. I will place another card on a classic dashboard with the same config... The attributes should not be changed from DWD warnings integration... only the IDs have changed with the last HA update, but I did not use the card for some time

ChristophCaina commented 4 days ago

here's the actual information for NINA, where I just had the same issue

headline: Im Einzugsgebiet der Enz besteht gemäß Modellberechnung eine mäßige Hochwassergefährdung.
description: Mögliche Auswirkungen:<br/>- stellenweise kleinere Ausuferungen<br/>- vereinzelte Überflutung land- und forstwirtschaftlicher Flächen<br/><br/>Informieren Sie sich weiter regelmäßig über die aktuelle Entwicklung der Niederschläge, Wasserstände und der Hochwasser-Lage: www.hvz.baden-wuerttemberg.de . Empfehlungen zum Verhalten vor und bei Hochwasser finden Sie unter www.hochwasser.baden-wuerttemberg.de/buergerinnen-und-buerger .
sender: HVZ Baden-Württemberg
severity: Moderate
recommended_actions: Informieren Sie sich unbedingt über die aktuelle Wetter- und Hochwasserentwicklung und die Ausgabe von amtlichen Warnungen. Achten Sie auf Ihre eigene Sicherheit! Halten Sie sich von Gewässern fern! Entfernen Sie Ihr Auto aus hochwassergefährdeten Bereichen. Überprüfen Sie Ihre Vorsorge- und Schutzmaßnahmen.
affected_areas: Enz-Einzugsgebiet
id: lhp.LHP.BW.bw_17_0_2024-07-10T04-00-00-01-00
sent: 2024-07-10T06:15:00+02:00
start: 2024-07-10T05:00:00+02:00
expires: 
device_class: safety
friendly_name: Warning: Böblingen, Stadt (Böblingen - Baden-Württemberg) 1
Maddin1684 commented 4 days ago

same here with active dwd warning level 2.

SOLVED: the sensor names from dwd has changed after core update.