Giter Club home page Giter Club logo

aio-powerview-api's Introduction

Code style: black PyPI codecov example workflow

Aio PowerView API

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.

Development

  • Install dev requirements.
  • Testing is done using NOX
  • Build a package: python .\setup.py bdist bdist_wheel --universal
  • upload a package twine upload dist/*.*

Changelog

1.6.15

  • Constrain aiohttp package versions.

v1.6.19

  • Add endpoints and handle 423 response
  • Remove loop as argument

v2.0.0

  • 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

v2.0.1

  • Invert type 3 & 4 to match api documentation from hunter douglas
  • Add type 10

v2.0.2

  • Bug Fix to handle shades with unexpected json responses

v2.0.3

  • Add Type 26, 27 & 28 - Skyline Panels
  • Force capability 1 for Type 44 - Twist
  • Align class name standard

v2.0.4

  • Add Type 10 - SkyLift
  • Handle calls to update shade position during maintenance
  • Raise error directly on hub calls instead of logger

v3.0.0

  • 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

v3.0.1

  • Raw hub data updates made via defined function (request_raw_data, request_home_data, request_raw_firware, detect_api_version)
  • Parse Gen 3 hub name based on serial + mac
  • Find API version based on firmware revision
  • Remove async_timeout and move to asyncio

Links


aio-powerview-api's People

Contributors

alindner19 avatar bdraco avatar etsinko avatar fabaff avatar kingy444 avatar sander76 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.