Skip to content

Fails if zone is unavailable during startup #2

Description

@petedavey

If for some reason the extension is started during a time the zone is unavailable, and then the zone is made available after the script is running -it will not process the turn on event. Easy to replicate, simply make the zone unavailable by whatever means necessary (power off, disconnect network) and start the app. Then, while it's running, make the zone available and then play back music. The on event is never processed / sent to the trigger device. I've attempted to study other plugins that don't have this problem but have had issues trying to re-write this code to make it more resilient to these situations.

Activity

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

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