A python async API for PowerView blinds. Written for Home-Assistant. Adding features as I go...
Have a look at the examples folder for some guidance how to use it.
- Install dev requirements.
- Testing is done using NOX
- Build a package:
python .\setup.py bdist bdist_wheel --universal
- upload a package
twine upload dist/*.*
- Constrain aiohttp package versions.
- Add endpoints and handle 423 response
- Remove loop as argument
- Add support for all known shade types
- Fallback to shade recognition based on capability
- Clamping to prevent MIN_POSITION or MAX_POSITION being exceeded
- Code refactoring
- Invert type 3 & 4 to match api documentation from hunter douglas
- Add type 10
- Bug Fix to handle shades with unexpected json responses
- Add Type 26, 27 & 28 - Skyline Panels
- Force capability 1 for Type 44 - Twist
- Align class name standard
- Add Type 10 - SkyLift
- Handle calls to update shade position during maintenance
- Raise error directly on hub calls instead of logger
- Major overhaul to incorporate gateway version 3 API. Version can be automatically detected or manually specified.
- UserData class is deprecated and replaced with Hub.
- ShadePosition class now replaces the raw json management of shades in support of cross generational management.
- Schedules / Automations are now supported by the API
- New get_objecttype methods available to returned structured data objects for consistent management