maximvelichko / pyvera

A python library to control devices via the Vera hub
GNU General Public License v2.0
26 stars 30 forks source link

Added unicode support for Python 2.x #80

Closed dahlo closed 6 years ago

dahlo commented 6 years ago

I noticed that the script broke when running it on my system, which has non-ascii characters in the device names for some devices. I added unicode encoding for the device and scene names when using Python 2.x and now it runs. Running it with Python 3+ works as well.

Lovely script btw, this is exactly what Vera should supply themselves instead of the very incomplete wiki page about Luup requests..