Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ChristophCaina opened this issue Jul 6, 2024 · 4 comments
Open

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

ChristophCaina opened this issue Jul 6, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@ChristophCaina
Copy link

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

@ChristophCaina ChristophCaina added the bug Something isn't working label Jul 6, 2024
@MrBartusek
Copy link
Owner

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
Copy link
Author

ChristophCaina commented Jul 6, 2024

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
Copy link
Author

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
Copy link

Maddin1684 commented Jul 10, 2024

same here with active dwd warning level 2.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants