From 0901b271da0d877240df1345c270b76407790f5a Mon Sep 17 00:00:00 2001 From: NanoDano Date: Sat, 13 Jul 2019 14:48:09 -0500 Subject: [PATCH 1/2] Fixing broken link in set_group Fixing line break that caused broken link in set_group --- adafruit_hue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adafruit_hue.py b/adafruit_hue.py index c3d135e..7ae1281 100644 --- a/adafruit_hue.py +++ b/adafruit_hue.py @@ -207,8 +207,8 @@ def set_group(self, group_id, **kwargs): :param int bri: Brightness value of the light (1 to 254) :param int hue: Hue value to set the light to (0 to 65535) :param int sat: Saturation of the light (0 to 254) - (more settings at https://developers.meethue.com/develop/hue-api/ - lights-api/#set-light-state) + (more settings at + https://developers.meethue.com/develop/hue-api/lights-api/#set-light-state ) """ resp = self._put('{0}/groups/{1}/action'.format(self._username_url, group_id), kwargs) return resp From 63983a8e8d180f309e52b8d5374086c401e74e85 Mon Sep 17 00:00:00 2001 From: NanoDano Date: Tue, 16 Jul 2019 10:40:38 -0500 Subject: [PATCH 2/2] Fix trailing whitespace in docstring Trailing whitespace in docstring was breaking CI build. Removed. --- adafruit_hue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_hue.py b/adafruit_hue.py index 7ae1281..b36fd81 100644 --- a/adafruit_hue.py +++ b/adafruit_hue.py @@ -207,7 +207,7 @@ def set_group(self, group_id, **kwargs): :param int bri: Brightness value of the light (1 to 254) :param int hue: Hue value to set the light to (0 to 65535) :param int sat: Saturation of the light (0 to 254) - (more settings at + (more settings at https://developers.meethue.com/develop/hue-api/lights-api/#set-light-state ) """ resp = self._put('{0}/groups/{1}/action'.format(self._username_url, group_id), kwargs)