From d1bed83c87c3ea0d1c7fa5c1870553a801324bce Mon Sep 17 00:00:00 2001 From: jkerdreu <jkerdreu@b32b6428-25c9-4566-ad07-03861ab6144f> Date: Thu, 15 Dec 2022 21:20:01 +0000 Subject: [PATCH] Cleanup git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@3057 b32b6428-25c9-4566-ad07-03861ab6144f --- devices/protocols/Yeelight/xaal/yeelight/devices.py | 1 + 1 file changed, 1 insertion(+) diff --git a/devices/protocols/Yeelight/xaal/yeelight/devices.py b/devices/protocols/Yeelight/xaal/yeelight/devices.py index edc37936..98435ecf 100644 --- a/devices/protocols/Yeelight/xaal/yeelight/devices.py +++ b/devices/protocols/Yeelight/xaal/yeelight/devices.py @@ -232,6 +232,7 @@ class RGBW(YeelightDev): # hsv = list(attrs['hsv']) # hsv[2] = round(int(bright)/100.0, 2) # attrs['hsv'] = hsv + # Yeelight Python API provide both rgb and hsv values # we parse both, even if we don't' issue set_hsv # sat ? -- GitLab