maximvelichko / pyvera

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

Added unicode support for device and scene names. #79

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 of the device names and now it runs.

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

dahlo commented 6 years ago

Ahh, my bad, i guess you are running Python 3 where this is not a problem. I should get with the times i guess..

This pull request will break the Python 3 support so I would not implement it the way it is now.