Skip to content
A sensor that give you information from alerts.weather.gov.
Python
Branch: master
Clone or download
Latest commit 61049c6 Jan 2, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.devcontainer Log more stuff Jan 2, 2020
.github Correct minor typos in issue.md (#26) Dec 27, 2019
.vscode Fixes #19, Fixes #18 Oct 13, 2019
custom_components/weatheralerts Log more stuff Jan 2, 2020
.gitignore Fixes #19, Fixes #18 Oct 13, 2019
LICENSE Update and add devcontainer. Jul 16, 2019
README.md leading 0 issues Dec 26, 2019
attributes.png
hacs.json uniqueid, set default name to zone, check zone, handle 2nr zone Dec 25, 2019
info.md Fixes #19, Fixes #18 Oct 13, 2019
sensor.png Rewrite integration Dec 25, 2019

README.md

custom_component to get info from alerts.weather.gov

A platform which allows you to get information from alerts.weather.gov.

Breaking change

On December 25 2019, this custom_component was rewritten to use a more modern API to get alerts. At the same time the configuration and storing of alert data was changed.

To find your zone go to https://www.weather.gov/pimar/PubZone, click the PDF or JPG for your state, then find your Zone number on the map.

To get started put all the files from /custom_components/weatheralerts/ here: <config directory>/custom_components/weatheralerts/

Example configuration.yaml:

sensor:
  platform: weatheralerts
  state: CA
  zone: "560"

If your zone starts with the number 0 you need to wrap quotes around it, or just skip the first 0 (so 010, should be "010" or 10)

Configuration variables:

key description
platform (Required) The platform name.
state (Required) Two letter code for your state ex.("CA" for California).
zone (Required) 3 number code of the zone you want to monitor ex. "560"

Sample overview

Sample overview

Attributes

Sample overview

When there are alerts, the information about them are stored in a list in the attributes. The content of that list can be used in automation templates, template sensors and a good amount of custom Lovelace cards.

You can’t perform that action at this time.