Skip to content

Handling of unnamed/unused zones  #8

@rct

Description

@rct

Through Home Assistant I'm getting an error:

IndexError: list index out of range on mydata.relays[self.data["relay"] - 1]

Looking at the open issues on the Home Assistant repo, I found this issue that I think may be the cause home-assistant/core#37769

I have an empty zone (2nd physical zone) that was skipped/reserved during installation which might be the cause of that error. Unfortunately, I think the referenced issue's problem description isn't very clear.

While I think the error is occurring with the home assistant integration, I'm wondering whether there is an issue with this module - should unused/unnamed zones be passed to home assistant, or should they be filtered out here?

I'm running Home Assistant 0.117, which is using hydrawiser 0.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions