ddeatrich / weatheralerts

MIT License
3 stars 0 forks source link

weatheralerts_1 sensor says unavailable during NWS alert #3

Open beyondunreal79 opened 1 month ago

beyondunreal79 commented 1 month ago

I added the sensor in my config.yaml as instructed. image

We had an NWS alert today, and the sensor just stayed as unavailable. If I try to embed the sensor information into the weatheralerts_1.yaml like this: image The sensor.weatheralerts_1 is unavailable BUT sensor.weatheralerts_1_2 shows the alert: image

I waited for 10 minutes or so to see if anything would update but nothing changed. What am I missing?

beyondunreal79 commented 1 month ago

Also noticed this error: image

ddeatrich commented 1 month ago

Did you put the weatheralerts_1.yaml in the packages folder? You have to do that for this to work the way it's supposed to

On Mon, Jul 8, 2024, 6:04 PM beyondunreal79 @.***> wrote:

I added the sensor in my config.yaml as instructed. image.png (view on web) https://github.com/ddeatrich/weatheralerts/assets/45919008/b8383e8d-a06d-4fee-b1be-3c5ee7cbff26

We had an NWS alert today, and the sensor just stayed as unavailable. If I try to embed the sensor information into the weatheralerts_1.yaml like this: image.png (view on web) https://github.com/ddeatrich/weatheralerts/assets/45919008/27e6b957-8ac7-493a-9360-2a298e141be8 The sensor.weatheralerts_1 is unavailable BUT sensor.weatheralerts_1_2 shows the alert: image.png (view on web) https://github.com/ddeatrich/weatheralerts/assets/45919008/7323f526-980f-43e1-aa40-a1dd0ce40bb0

I waited for 10 minutes or so to see if anything would update but nothing changed. What am I missing?

— Reply to this email directly, view it on GitHub https://github.com/ddeatrich/weatheralerts/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASPL6AGA3O32TVKZZJQ4P63ZLMEHFAVCNFSM6AAAAABKRUXUGSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TMNRVGUZDEMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

beyondunreal79 commented 1 month ago

Sure. I used to use the weather alerts package that's found in HACS, so I am familiar with its setup. I can't get past the sensor issues.

ddeatrich commented 1 month ago

Did you ever get this working? I've been trying to replicate your issue for weeks and can't get it to happen

beyondunreal79 commented 1 month ago

Unfortunately, no. Not sure if it's because I originally was using the other weatheralerts that was in HACS. I tried uninstalling it and purging my recorder. I guess I can try spinning up a brand new HAOS on a VM and trying to install your version to rule out corruption. I'd rather use yours since its being maintained. I'll keep you posted.

beyondunreal79 commented 1 month ago

So, I did what I said. I got a new HAOS up and running, installed HACS and weatheralerts. It seems to be perfectly fine. Now I have no NWS alerts in my area, but the number of alerts is 0 and not UNKOWN. With that said, it seems its some kind of corruption from the previous version I had installed. Not sure how I can fix that.