Skip to content

0.0.2

Compare
Choose a tag to compare
@milanmeu milanmeu released this 30 Sep 19:33
· 18 commits to master since this release

This is the second release of the aioNanoleaf package.
It is available on PyPI.org.

Installation:

pip install aionanoleaf==0.0.2

Changelog:

  • Added set_state() to set multiple state values in one request.
  • Added a connection timeout to requests; Unavailable is raised if a connection couldn't be established with 5 seconds.
  • Exceptions where moved from nanoleaf.py to exceptions.py; exceptions can still be imported from __init__.py.
  • Request are retried once if the Nanoleaf disconnected; exceptions are not handled for this second attempt.
  • Added missing return type annotation to get_info().
  • ClientConnectorError now raises Unavailable.
  • Fixed documentation URL in setup.py.
  • Added aiohttp to requirements.