LumKitty / MiLight3

Python control class for controlling MiLight-3.0 (Limitless V6.0) lights
GNU General Public License v3.0
5 stars 2 forks source link

Error when using temperature attribute. #2

Closed masminl closed 7 years ago

masminl commented 7 years ago

Hi, When I use the following command in my scrips, I get an error. milight.zone[z].temperature(0)

File "/tmp/MiLight3-master/milightbox.py", line 325, in temperature self.tmp(temp) AttributeError: rgbww instance has no attribute 'tmp'

Is this something you can resolve, as it would make the script which I use in Domoticz more useful for the rgbww bulds I have.

LumKitty commented 7 years ago

Try it now. Was just a typo, hopefully! :)

masminl commented 7 years ago

It works like a charm! thanks for resolving.