custom-components / weatheralerts

A sensor that gives you weather alerts from alerts.weather.gov.
MIT License
126 stars 15 forks source link

no sensor being created #78

Closed ReenigneArcher closed 1 year ago

ReenigneArcher commented 1 year ago

Version of the custom_component

v0.1.5

Describe the bug No sensor is being created. Also no entries in the logs...

configuration.yaml:

sensor: !include_dir_merge_list include_files/sensor/

include_files/sensor/weatheralerts.yaml:

platform: weatheralerts
state: WI
zone: 38
county: 87

also tried (which seems more correct to me):

- platform: weatheralerts
  state: WI
  zone: 38
  county: 87

Log

Nothing appears in logs...
ReenigneArcher commented 1 year ago

It is working. The sensor name was sensor.<county/zone name> and I was expecting sensor.weatheralerts_<county/zone name>.