custom-components / weatheralerts

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

sensor not showing in HA - No Error in Logs #24

Closed Photo64 closed 4 years ago

Photo64 commented 4 years ago

Version of the cusom_component Installed: 705c1d6

Describe the bug I installed weatheralerts via HACS and added the config shown below to my sensor.yaml however after restarting HA there is no sensor showing within the states page that corresponds to this.

My understanding is I should see a sensor called sensor.010 as it defaults to the zone??

There are no errors showing in the log. I am seeing this in the log so I assume it is loading and working correctly -> "You are using a custom integration for weatheralerts which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant."

log No errors are showing in log

ludeeus commented 4 years ago

Name of the zone, not the zone ID.

You can find it by filtering attributes in States img

Photo64 commented 4 years ago

With this setup what should it be called? I am not seeing anything for this sensor platform: weatheralerts state: NJ zone: 010

I searched through my entire sensor list and there is nothing showing for this. Does this not work for my area?

ludeeus commented 4 years ago

There is a bug there will push a fix shortly. if you use zone: 10 it should work.

And you do get an error...

CRITICAL (MainThread) [custom_components.weatheralerts.sensor] Compiled zone ID 'NJZ08' is not valid
Photo64 commented 4 years ago

I just tried again using zone: 10 and I am seeing the "sensor.somerset" but I didn't see the error you mentioned in the log.

ludeeus commented 4 years ago

updated with fix/note for this issue.