mirror of
				https://github.com/python-kasa/python-kasa.git
				synced 2025-11-04 06:32:07 +00:00 
			
		
		
		
	set color temp to 0 when trying to change color (#36)
* set color temp to 0 when trying to change color * changed tabs to spaces
This commit is contained in:
		@@ -507,6 +507,7 @@ class SmartBulb(SmartDevice):
 | 
			
		||||
            "hue": state[0],
 | 
			
		||||
            "saturation": state[1],
 | 
			
		||||
            "brightness": int(state[2] * 100 / 255),
 | 
			
		||||
            "color_temp": 0
 | 
			
		||||
            }
 | 
			
		||||
        return self.set_light_state(light_state)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user