Added support for Motion Sensors, setters for values like brightness or hue now expect API-native values instead of converting from (0.0-1.0), modified rgb to hsv converter accordingly, additional minor improvements, updated README and DOCUMENTATION
This commit is contained in:
parent
157cc63129
commit
52a85486d9
5 changed files with 264 additions and 78 deletions
10
README.md
10
README.md
|
@ -27,6 +27,14 @@ See https://developers.meethue.com/develop/get-started-2/
|
|||
- white color temperature
|
||||
- alert
|
||||
- alert_long
|
||||
- 👋 Motion Sensors
|
||||
- reachable
|
||||
- on
|
||||
- battery
|
||||
- sensitivity
|
||||
- sensitivitymax
|
||||
- ledindication
|
||||
- presence
|
||||
|
||||
## Documentation
|
||||
|
||||
|
@ -48,6 +56,6 @@ if __name__ == "__main__":
|
|||
color = rgb_to_hsv(255, 220, 100)
|
||||
home.set_hue(color[0])
|
||||
home.set_saturation(color[1])
|
||||
home.set_brightness(1.0)
|
||||
home.set_brightness(254)
|
||||
home.alert()
|
||||
```
|
||||
|
|
Reference in a new issue