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

Avalanche alert type breaks card #240

Closed xstrex closed 4 months ago

xstrex commented 8 months ago

Describe the bug

Avalanche alert type breaks card.

Integration state attributes

alerts:
  - area: >-
      South and East Jackson/Larimer/North and Northeast Grand/Northwest Boulder
      Counties Above 9000 Feet
    certainty: Possible
    description: |-
      * WHAT...Heavy snow possible. Total snow accumulations between 8 and
      16 inches possible. Winds could gust as high as 70 mph with
      whiteout conditions over the higher mountain passes.

      * WHERE...Rocky Mountain National Park and the Medicine Bow Range.

      * WHEN...From late tonight through late Thursday night.

      * IMPACTS...Visibilities may drop below 1/4 mile due to falling and
      blowing snow. Travel may become very difficult to impossible due
      to heavy snowfall and poor visibility on roadways.
    ends: "2024-01-19T05:00:00-07:00"
    event: Winter Storm Watch
    instruction: Monitor the latest forecasts for updates on this situation.
    response: Prepare
    sent: "2024-01-16T08:41:00-07:00"
    severity: Severe
    title: >-
      Winter Storm Watch issued January 16 at 8:41AM MST until January 19 at
      5:00AM MST
    urgency: Future
    NWSheadline:
      - >-
        WINTER STORM WATCH REMAINS IN EFFECT FROM LATE TONIGHT THROUGH LATE
        THURSDAY NIGHT
    hailSize: "null"
    windGust: "null"
    waterspoutDetection: "null"
    effective: "2024-01-16T08:41:00-07:00"
    expires: "2024-01-16T17:00:00-07:00"
    endsExpires: "2024-01-19T05:00:00-07:00"
    onset: "2024-01-17T05:00:00-07:00"
    status: Actual
    messageType: Update
    category: Met
    sender: w-nws.webmaster@noaa.gov
    senderName: NWS Denver CO
    id: urn:oid:2.49.0.1.840.0.c865a63dd4622472b8dadcdb4014d4fc8ec374f8.005.1
    zoneid: COZ038,COC069
  - area: >-
      Elkhead and Park Mountains; Flat Tops; West Jackson and West Grand
      Counties Above 9000 Feet; South and East Jackson/Larimer/North and
      Northeast Grand/Northwest Boulder Counties Above 9000 Feet; South and
      Southeast Grand/West Central and Southwest Boulder/Gilpin/Clear
      Creek/Summit/North and West Park Counties Above 9000 Feet
    certainty: Unknown
    description: |-
      THE FOLLOWING MESSAGE IS TRANSMITTED AT THE REQUEST OF THE
      COLORADO AVALANCHE INFORMATION CENTER.

      ...AVALANCHE WARNING IN EFFECT 5 PM MONDAY UNTIL 5 PM THURSDAY...

      * WHAT...The Avalanche Danger is HIGH (Level 4 of 5) on Tuesday,
      Wednesday and Thursday.

      * WHERE...The Park Range, Flat Top Mountains, Medicine Bow
      Mountains, Never Summer Mountains, Front Range, Gore Range, Ten
      Mile Range

      * WHEN...In effect from 5 PM Monday, January 15 until 5 PM Thursday,
      January 18.

      * IMPACTS...Heavy snow and strong winds have created very dangerous
      avalanche conditions. Large and dangerous avalanches will be very
      easy to trigger. Avalanches will run naturally.

      * PRECAUTION/PREPAREDNESS ACTIONS...Travel in backcountry avalanche
      terrain is not recommended. Avoid travel on and under slopes
      steeper than about 30 degrees. You can find more detailed
      information at colorado.gov/avalanche
    ends: null
    event: Avalanche Warning
    instruction: null
    response: Monitor
    sent: "2024-01-15T14:54:00-07:00"
    severity: Unknown
    title: Avalanche Warning issued January 15 at 2:54PM MST
    urgency: Unknown
    NWSheadline: "null"
    hailSize: "null"
    windGust: "null"
    waterspoutDetection: "null"
    effective: "2024-01-15T14:54:00-07:00"
    expires: "2024-01-18T15:00:00-07:00"
    endsExpires: "2024-01-18T15:00:00-07:00"
    onset: "2024-01-15T14:54:00-07:00"
    status: Actual
    messageType: Alert
    category: Met
    sender: w-nws.webmaster@noaa.gov
    senderName: NWS Denver CO
    id: urn:oid:2.49.0.1.840.0.c68546de53c55923fed9255ca35f4559f50d0994.001.1
    zoneid: COZ038,COC069
integration: weatheralerts
state: CO
zone: COZ038,COC069
unit_of_measurement: Alerts
icon: mdi:alert-octagram
friendly_name: Larimer County Below 6000 Feet/Northwest Weld County

Screenshots

Screenshot 2024-01-16 at 12 30 31 PM

Card version

2.6.0

Installation type

Home Assistant Community Store (HACS)

Card Configuration

      - type: custom:meteoalarm-card
        entities: sensor.larimer_county_below_6000_feet_northwest_weld_county
        integration: weatheralerts

Integration type

weatheralerts

Integration configuration

YAML (configuration.yaml)

Integration Configuration

No response

MrBartusek commented 4 months ago

Now tracked in: #243