Updated valid range to 360 (with passing tests) (#153)

* Updated valid range to 360

with it set to 359 it will not show the color red. Just tested this with a buddies bulb - same model/fw
https://imgur.com/a/kSNZIuL

* Updated valid range to 360

with it set to 359 it will not show the color red. Just tested this with a buddies bulb - same model/fw
https://imgur.com/a/kSNZIuL

* Update valid range to 360

* Fix tests
This commit is contained in:
Annika Jacobs
2019-01-16 20:50:48 +00:00
committed by Teemu R
parent 6115d96c39
commit 4cb28a3b25
3 changed files with 7 additions and 7 deletions

View File

@@ -210,7 +210,7 @@ if bulb.is_variable_color_temp:
### Setting the color
Hue is given in degrees (0-359) and saturation and value in percentage.
Hue is given in degrees (0-360) and saturation and value in percentage.
```python
print(bulb.hsv)