Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list index out of range #17

Closed
DeadEnded opened this issue Jul 24, 2019 · 6 comments
Closed

list index out of range #17

DeadEnded opened this issue Jul 24, 2019 · 6 comments

Comments

@DeadEnded
Copy link

Version of the cusom_component
9acd01b

Describe the bug
On startup HA log gives list index out of range.

log

Log Details (ERROR)
Wed Jul 24 2019 00:08:41 GMT-0400 (Eastern Daylight Time)
list index out of range

I have just installed this from HACS.
I did see that another user had this error and changed their sameid and got it working.
Could there be a problem where some sameid's do not work?

Here is the snip of my configuration.yaml:

sensor:

  # NWS NOAA Alerts
  - platform: weatheralerts
    sameid: '021209'

Thank you!
DeadEnd

@ludeeus
Copy link
Contributor

ludeeus commented Jul 24, 2019

Yes, not all works, try another in the same county.

@ludeeus ludeeus closed this as completed Jul 24, 2019
@DeadEnded
Copy link
Author

@ludeeus it appears there is only 1 sameid for my county - two transmitters (call signs) but they share the sameid.

I am currently using another custom component that uses NWS zones - but it is not supported by HACS, which is why I am trying to switch over to weather-alerts instead. Is there anything I can do to get this working on 021209, or am I just out of luck?

Thanks for your work! Even if I don't get this one working - I really appreciate what you and all the other HA community members do!

DeadEnd

@ludeeus
Copy link
Contributor

ludeeus commented Jul 24, 2019

I did not write the lib that this one uses WeatherAlerts and from what I have seen it's unstable at best.

@niemyjski
Copy link

I'm seeing this as well but I only have one county and it's getting a ton of these: list index out of range errors.

@niemyjski
Copy link

Can we get this reopened, this is an active issue and we can work with upstream to get this fixed.

@kflinderman
Copy link

I'm also getting this error a ton, but it seems like the sensor works fine. But man does it fill up the log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants