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

'Tornado Watch' shows 'Tornado Warning' on the alarm card #144

Closed drpeppershaker closed 1 year ago

drpeppershaker commented 1 year ago

Describe the bug

Currently experiencing a Tornado Watch in my area, but the alarm card shows a 'Tornado Warning'.

Steps to reproduce

Set up meteoalarm card with weather alerts integration. Wait for tornado watch from NWS...

Screenshots

Screen Shot 2023-01-12 at 2 20 47 PM Screen Shot 2023-01-12 at 2 22 04 PM

Card version

v2.4.1

Integration type

Meteoalarm

Installation type

Home Assistant Community Store (HACS)

Card Configuration

type: custom:meteoalarm-card
entities:
  - entity: sensor.weatheralerts_1
integration: weatheralerts

Integration Configuration

weatheralerts.yaml:

## sensor ##

sensor:
  - platform: weatheralerts
    ## Set (required) 'state' to your 2 character state or zone abbreviation
    ## Set (required) 'zone' to your zone number for the zone feed you want to use
    ## Uncomment and set (optional) 'county' to your county number for the county feed you want to use
    ## The scan_interval is the length of time (in seconds) between alert feed checks (default is 30 seconds)
    state: GA
    zone: 53
    county: 53
    scan_interval: 30

NOTE: I'm using the yaml package from weather alerts: https://github.com/custom-components/weatheralerts/tree/a2e08c94d4ba92a22f4a6e9ed80ad127ab2db5cd/packages

MrBartusek commented 1 year ago

Hey, you have 2 dots on the bottom of the card this mean that you can swipe the card to view next alert. There is a posibility that there is both tornado warning and watch eg. Red and yellow alerts. If it is not the case please also provide atributes of all of the weatheralerts entities.

drpeppershaker commented 1 year ago

It was a Tornado Warning and a Wind Advisory.

alerts:
  - area: >-
      Banks, GA; Barrow, GA; Butts, GA; Carroll, GA; Chattahoochee, GA; Clarke,
      GA; Clayton, GA; Cobb, GA; Coweta, GA; Crawford, GA; DeKalb, GA; Douglas,
      GA; Fayette, GA; Forsyth, GA; Fulton, GA; Gwinnett, GA; Hall, GA;
      Haralson, GA; Harris, GA; Heard, GA; Henry, GA; Jackson, GA; Jasper, GA;
      Lamar, GA; Madison, GA; Marion, GA; Meriwether, GA; Monroe, GA; Morgan,
      GA; Muscogee, GA; Newton, GA; Oconee, GA; Paulding, GA; Pike, GA;
      Rockdale, GA; Spalding, GA; Stewart, GA; Talbot, GA; Taylor, GA; Towns,
      GA; Troup, GA; Upson, GA; Walton, GA; Webster, GA; White, GA
    certainty: Possible
    description: |-
      THE NATIONAL WEATHER SERVICE HAS ISSUED TORNADO WATCH 21 IN
      EFFECT UNTIL 7 PM EST THIS EVENING FOR THE FOLLOWING AREAS

      IN GEORGIA THIS WATCH INCLUDES 45 COUNTIES

      IN CENTRAL GEORGIA

      BUTTS                 CRAWFORD              JASPER
      MONROE

      IN NORTH CENTRAL GEORGIA

      BARROW                CLAYTON               COBB
      DEKALB                DOUGLAS               FAYETTE
      FORSYTH               FULTON                GWINNETT
      HALL                  HENRY                 MORGAN
      NEWTON                ROCKDALE              WALTON

      IN NORTHEAST GEORGIA

      BANKS                 CLARKE                JACKSON
      MADISON               OCONEE                TOWNS
      WHITE

      IN NORTHWEST GEORGIA

      CARROLL               HARALSON              PAULDING

      IN WEST CENTRAL GEORGIA

      CHATTAHOOCHEE         COWETA                HARRIS
      HEARD                 LAMAR                 MARION
      MERIWETHER            MUSCOGEE              PIKE
      SPALDING              STEWART               TALBOT
      TAYLOR                TROUP                 UPSON
      WEBSTER

      THIS INCLUDES THE CITIES OF ATLANTA, BARNESVILLE, BREMEN,
      BUENA VISTA, BUTLER, CARROLLTON, CLEVELAND, COLUMBUS, COMER,
      COMMERCE, CONYERS, COVINGTON, CUMMING, DALLAS, DECATUR,
      DOUGLASVILLE, FORSYTH, FORT BENNING, FRANKLIN, GAINESVILLE,
      GRIFFIN, HIAWASSEE, HOMER, JACKSON, LAWRENCEVILLE, MADISON,
      MANCHESTER, MARIETTA, MONROE, MONTICELLO, NEWNAN, PEACHTREE CITY,
      PINE MOUNTAIN, PRESTON, RICHLAND, RIVERDALE, ROBERTA,
      STOCKBRIDGE, TALBOTTON, THOMASTON, WATKINSVILLE, WEST POINT,
      WINDER, WINTERVILLE, AND ZEBULON.
    ends: '2023-01-12T19:00:00-05:00'
    event: Tornado Watch
    instruction: null
    response: Monitor
    sent: '2023-01-12T13:08:00-05:00'
    severity: Extreme
    title: >-
      Tornado Watch issued January 12 at 1:08PM EST until January 12 at 7:00PM
      EST
    urgency: Future
    NWSheadline: 'null'
    hailSize: 'null'
    windGust: 'null'
    waterspoutDetection: 'null'
    effective: '2023-01-12T13:08:00-05:00'
    expires: '2023-01-12T19:00:00-05:00'
    endsExpires: '2023-01-12T19:00:00-05:00'
    onset: '2023-01-12T13:08:00-05:00'
    status: Actual
    messageType: Alert
    category: Met
    sender: w-nws.webmaster@noaa.gov
    senderName: NWS Peachtree City GA
    id: urn:oid:2.49.0.1.840.0.ec2ebadf3a3101db5137eb03c18feb5360a883ed.002.1
    zoneid: GAZ053,GAC053
  - area: >-
      Dade; Walker; Catoosa; Whitfield; Murray; Fannin; Gilmer; Union; Towns;
      Chattooga; Gordon; Pickens; Dawson; Lumpkin; White; Floyd; Bartow;
      Cherokee; Forsyth; Hall; Banks; Jackson; Madison; Polk; Paulding; Cobb;
      North Fulton; Gwinnett; Barrow; Clarke; Oconee; Oglethorpe; Wilkes;
      Haralson; Carroll; Douglas; South Fulton; DeKalb; Rockdale; Walton;
      Newton; Morgan; Greene; Taliaferro; Heard; Coweta; Fayette; Clayton;
      Spalding; Henry; Butts; Jasper; Putnam; Hancock; Warren; Troup;
      Meriwether; Pike; Upson; Lamar; Monroe; Jones; Baldwin; Washington;
      Glascock; Jefferson; Harris; Talbot; Taylor; Crawford; Bibb; Twiggs;
      Wilkinson; Johnson; Emanuel; Muscogee; Chattahoochee; Marion; Schley;
      Macon; Peach; Houston; Bleckley; Laurens; Treutlen; Stewart; Webster;
      Sumter; Dooly; Crisp; Pulaski; Wilcox; Dodge; Telfair; Wheeler;
      Montgomery; Toombs
    certainty: Likely
    description: |-
      * WHAT...Southwest winds between 15 to 20 mph sustained with
      gusts of 30 to 40 mph expected.

      * WHERE...Portions of central, east central, north central,
      northeast, northwest, southeast and west central Georgia.

      * WHEN...From 11 AM this morning to 11 PM EST this evening.

      * IMPACTS...Gusty winds could blow around unsecured objects.
      Tree limbs could be blown down and a few power outages may
      result.

      * ADDITIONAL DETAILS...These elevated winds are expected ahead
      of a severe line of thunderstorms Thursday afternoon and
      evening which may also produce severe wind gusts.
    ends: '2023-01-12T23:00:00-05:00'
    event: Wind Advisory
    instruction: |-
      Use extra caution when driving, especially if operating a high
      profile vehicle. Secure outdoor objects.
    response: Execute
    sent: '2023-01-12T10:57:00-05:00'
    severity: Moderate
    title: >-
      Wind Advisory issued January 12 at 10:57AM EST until January 12 at 11:00PM
      EST
    urgency: Expected
    NWSheadline:
      - WIND ADVISORY REMAINS IN EFFECT UNTIL 11 PM EST THIS EVENING
    hailSize: 'null'
    windGust: 'null'
    waterspoutDetection: 'null'
    effective: '2023-01-12T10:57:00-05:00'
    expires: '2023-01-12T23:00:00-05:00'
    endsExpires: '2023-01-12T23:00:00-05:00'
    onset: '2023-01-12T11:00:00-05:00'
    status: Actual
    messageType: Update
    category: Met
    sender: w-nws.webmaster@noaa.gov
    senderName: NWS Peachtree City GA
    id: urn:oid:2.49.0.1.840.0.d931fc47c84aaf703e8fcc2f45336529a497826a.001.1
    zoneid: GAZ053,GAC053
integration: weatheralerts
state: GA
zone: GAZ053,GAC053
unit_of_measurement: Alerts
icon: mdi:alert-octagram
friendly_name: Coweta
MrBartusek commented 1 year ago

It was a Tornado Warning and a Wind Advisory

So it was corectly showing tornado warning (which is red) on the first slide?

drpeppershaker commented 1 year ago

Sorry, that's a typo from me...

There was a tornado watch. Not a warning. The alert incorrectly displayed a "warning" as you can see from the screenshot. But the attribute shows tornado watch.

MrBartusek commented 1 year ago

Yeah i know what's up, moved to #145