AlexGustafsson / homebridge-wol

A Wake on Lan plugin for Homebridge
MIT License
301 stars 30 forks source link

Status does not change after shutdown or waking up #41

Closed JulianRecke closed 6 years ago

JulianRecke commented 6 years ago

The status never changed from 'Shutting down' to 'offline' and 'Waking Up' to 'Online' because comparing like 'if (this.status === (Status.Offline || Status.ShuttingDown))' does not work. If shutdown or wake up fails the status should change back to 'Offline' or 'Online'.

AlexGustafsson commented 6 years ago

@cr3ative Do you mind confirming, testing and merging?

cr3ative commented 6 years ago

Of course - give me a few hours :)

AlexGustafsson commented 6 years ago

Thanks for the help everyone! Published as 3.2.4 to npm.