WEMO Insight Switch not initalized after start openHAB2

I think i have this fixed - or at least a work around. It will now work without having to restart or move bundles around. The drawback right now is it will take up to 2 minutes due to the default polling interval for it to start to read current status - but this only happens once when you start it up.

Here’s my compiled version of the JAR - http://www.ktechs.net/pvt_filz/org.eclipse.smarthome.binding.wemo-0.9.0-SNAPSHOT.jar
Here’s a link to my branch if you wish to build your own: https://github.com/DigitalBites/smarthome/tree/fix_wemo-startup-issues

Directions to install

openhab> bundle:list | grep -i wemo
202 | Active   |  80 | 0.9.0.201611120403    | Eclipse SmartHome Wemo Binding
openhab> bundle:stop 202
openhab> bundle:uninstall 202

Backup and then copy the above JAR file to your installation: /opt/openhab/openhab-offline-2.0.0-snapshot-20161111/runtime/system/org/eclipse/smarthome/binding/org.eclipse.smarthome.binding.wemo/0.9.0-SNAPSHOT/

openhab> bundle:install "file:///opt/openhab/openhab-offline-2.0.0-snapshot-20161111/runtime/system/org/eclipse/smarthome/binding/org.eclipse.smarthome.binding.wemo/0.9.0-SNAPSHOT/org.eclipse.smarthome.binding.wemo-0.9.0-SNAPSHOT.jar"
Bundle ID: 203
openhab> bundle:list | grep -i wemo
203 | Installed |  80 | 0.9.0.201611120452    | Eclipse SmartHome Wemo Binding
openhab> bundle:start 203