issackelly / python-hue

Python client for Philips Hue -- determined via API reverse engineering
Other
152 stars 25 forks source link

off doesn't work... #1

Closed s4v4g3 closed 11 years ago

s4v4g3 commented 11 years ago

I appreciate your work on the python hue interface.

I noticed that your off() method does not work (at least for my gateway).

This updated method fixes the problem:

def off(self): return self.set_state({"on": False})

ocelma commented 11 years ago

Yes! I also did this change and works fine. I got it from here: http://blog.ef.net/2012/11/02/philips-hue-api.html (a nice list of all the request/methods)

issackelly commented 11 years ago

Fixed in https://github.com/issackelly/python-hue/commit/f6dfd341e79e2b9aa9e5691f96fc78a254b87365 Thanks!