From cdec39630eb0144361b22de92dbb5f9f07251698 Mon Sep 17 00:00:00 2001 From: NanoDano Date: Sat, 13 Jul 2019 14:45:52 -0500 Subject: [PATCH] Fixing broken link in API reference for set_light The line break in the docstring for the Bridge.set_light() method was causing a broken link in the generated documentation. The line break was removed to fix the link and a space after the link was added so the closing parenthesis was not included in the link. --- adafruit_hue.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/adafruit_hue.py b/adafruit_hue.py index c3d135e..5698787 100644 --- a/adafruit_hue.py +++ b/adafruit_hue.py @@ -158,8 +158,7 @@ def set_light(self, light_id, **kwargs): :param int hue: Hue value to set the light, in degrees (0 to 360) (0 to 65535) :param int sat: Saturation of the light, 0-100% (0 to 254) (more settings at: - https://developers.meethue.com/develop/ - hue-api/lights-api/#set-light-state) + https://developers.meethue.com/develop/hue-api/lights-api/#set-light-state ) """ resp = self._put('{0}/lights/{1}/state'.format(self._username_url, light_id), kwargs) return resp