dhleong / wemore

A more awesome library for Belkin WeMo interactions
37 stars 12 forks source link

changed identification param to uuid #9

Closed stfnhmplr closed 6 years ago

stfnhmplr commented 6 years ago

In case of restarting the emulated device, the device udn changes. That means that the device is not longer detected by homee. The serial number is unique by default, but can also be specified.

dhleong commented 6 years ago

Hmm actually it looks like it should be using this.uuid. That looks like a bug to me, anyway.

Does changing it to this.uuid and providing that option also solve the issue for you? If so, that would be the "correct" fix.

stfnhmplr commented 6 years ago

You're right. this.uuid does also work.

dhleong commented 6 years ago

Excellent. Thanks for the PR!

dhleong commented 6 years ago

Published as 0.4.2