Skip to content

National Weather Service custom component for Home Assistant

Notifications You must be signed in to change notification settings

eracknaphobia/nws_custom_component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

nws_custom_component

National Weather Service custom component for Home Assistant

This should be placed in your configuration folder:

For HA .87 and lower

<config directory>/custom_components/sensor/nws_alerts.py

For HA .88 and higher (rename nws_alerts.py to sensor.py)

<config directory>/custom_components/nws_alerts/sensor.py

For HA .92 and higher (add an empty file named init.py to the folder nws_alerts)

<config directory>/custom_components/nws_alerts/__init__.py

To create an sensor instance add to your sensor definitions:

- platform: nws_alerts
  zone_id: 'PAC049'

or comma separated values

- platform: nws_alerts
  zone_id: 'PAC049,WVC031'

About

National Weather Service custom component for Home Assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages