MrBartusek/MeteoalarmCard

Error Unknown Weatheralerts Alert Type

Closed this issue · 0 comments

Describe the bug

Error displayed when the national weather service alert provided by the WeatherAlerts integration is either of the following:
Blowing Dust Advisory
Special Weather Statement
Example data provided below for the Blowing Dust Advisory. It's the same issue for Special Weather Statement as well.

Integration state attributes

alerts:

  • area: >-
    South Mountain/Ahwatukee; Southeast Valley/Queen Creek; Northwest Pinal
    County; West Pinal County; Apache Junction/Gold Canyon; Sonoran Desert
    Natl Monument
    certainty: Likely
    description: |-

    • WHAT...For the Excessive Heat Warning, dangerously hot
      conditions. Afternoon temperatures 109 to 115. For the Blowing
      Dust Advisory, visibility between one quarter mile and one
      mile in blowing dust expected.

    • WHERE...South Mountain/Ahwatukee, Southeast Valley/Queen
      Creek, Northwest Pinal County, West Pinal County, Apache
      Junction/Gold Canyon and Sonoran Desert National Monument.

    • WHEN...For the Excessive Heat Warning, until 8 PM MST Tuesday.
      For the Blowing Dust Advisory, from 5 PM this afternoon to 11
      PM MST this evening.

    • IMPACTS...Hazardous driving conditions due to reduced
      visibility. Major Heat Risk. Overexposure can cause heat
      cramps and heat exhaustion to develop and, without
      intervention, can lead to heat stroke.
      ends: '2023-07-22T23:00:00-07:00'
      event: Blowing Dust Advisory
      instruction: |-
      Be ready for a sudden drop in visibility. If you encounter
      blowing dust or blowing sand on the roadway or see it
      approaching, pull off the road as far as possible and put your
      vehicle in park. Turn the lights all the way off and keep your
      foot off the brake pedal.

    Remember, pull aside, stay alive.

    An Excessive Heat Warning means that a period of very hot
    temperatures, even by local standards, will occur. Actions should
    be taken to lessen the impact of the extreme heat.

    Stay indoors and seek air-conditioned buildings. Drink water,
    more than usual, and avoid dehydrating alcoholic, sugary, or
    caffeinated drinks. Dress for the heat - lightweight and light-
    colored clothing. Eat small meals and eat more often. Monitor
    those with a higher vulnerability to heat, including small
    children. Check in on family, friends, and neighbors, especially
    the elderly. If engaging in outdoor activity, take longer and
    more frequent breaks and avoid the hottest parts of the day.
    Never leave kids or pets unattended in cars.

    Public cooling shelters are available in some areas. Consult
    county officials for more details, which may include guidance for
    proper social distancing measures.

    Recognize the signs and symptoms of heat-related illness. Early
    signs include thirst and muscle cramps. Heat exhaustion may
    include: cool, moist, pale skin; headache; dizziness; weakness or
    exhaustion; nausea. The most serious illness is heat stroke,
    which may include: vomiting; confusion; throbbing headache;
    decreased alertness or loss of consciousness; high body
    temperature (above 105F); hot, dry skin; rapid, weak pulse;
    rapid, shallow breathing; seizures.

    Heat stroke can be DEADLY. Treat as an emergency and call 9 1 1.

    Continue to monitor NWS forecasts, broadcast outlets, and local
    government for updates.
    response: Execute
    sent: '2023-07-22T14:00:00-07:00'
    severity: Moderate
    title: >-
    Blowing Dust Advisory issued July 22 at 2:00PM MST until July 22 at
    11:00PM MST
    urgency: Expected
    NWSheadline:

      EXCESSIVE HEAT WARNING NOW IN EFFECT UNTIL 8 PM MST TUESDAY...
      ...BLOWING DUST ADVISORY REMAINS IN EFFECT FROM 5 PM THIS AFTERNOON TO
      11 PM MST THIS EVENING
      hailSize: 'null'
      windGust: 'null'
      waterspoutDetection: 'null'
      effective: '2023-07-22T14:00:00-07:00'
      expires: '2023-07-23T05:00:00-07:00'
      endsExpires: '2023-07-22T23:00:00-07:00'
      onset: '2023-07-22T17:00:00-07:00'
      status: Actual
      messageType: Update
      category: Met
      sender: w-nws.webmaster@noaa.gov
      senderName: NWS Phoenix AZ
      id: urn:oid:2.49.0.1.840.0.5ec82b0ce5a463c73f107b67775b46b85062aebd.001.2
      zoneid: AZZ550

Screenshots

image

Card version

v2.5.3

Installation type

Home Assistant Community Store (HACS)

Card Configuration

name: Meteoalarm
type: custom:meteoalarm-card
entities:

  • entity: sensor.south_mountain_ahwatukee
    integration: weatheralerts
    override_headline: false
    hide_when_no_warning: true
    scaling_mode: headline_and_scale
    disable_swiper: false

Integration type

Meteoalarm

Integration configuration

YAML (configuration.yaml)

Integration Configuration

No response