v4.0.0
What’s changed
Large release that refactors the library in many ways. Python 3.9 support has been dropped, while Python 3.11 support has been added.
Furthermore, there is now support for controlling power on behaviors of lights, Wi-Fi information and the MAC address of the device is now available (in newer firmware).
Support for the Elgato Key Light Mini has been added. The Elgato Key Light Mini is a battery-powered device, and thus adds lots of information about the battery state, charging, power usage, settings for energy saving, and control to bypass the battery fully (studio mode).
🚨 Breaking changes
Support for Python 3.9 has been dropped. 🐍
✨ New features
- Add support for restarting an Elgato device @frenck (#693)
- Add support for fetching mac address & Wi-Fi information @frenck (#695)
- Add basic battery support @frenck (#697)
- Add support for controlling battery settings @frenck (#698)
- Add support for controlling power on behavior @frenck (#699)
🚀 Enhancements
- Set pytest asyncio mode to auto @frenck (#691)
- Enable Ruff autofix in pre-commit @frenck (#692)
- Clean up deprecated code from examples @frenck (#694)
- Test & linting environment tweaks @frenck (#696)
🧰 Maintenance
📚 Documentation
⬆️ Dependency updates
Details
- Bump pytest-asyncio from 0.16.0 to 0.17.0 @dependabot (#452)
- Bump release-drafter/release-drafter from 5.16.1 to 5.17.5 @dependabot (#453)
- Bump pytest-asyncio from 0.17.0 to 0.17.1 @dependabot (#454)
- Bump pytest-asyncio from 0.17.1 to 0.17.2 @dependabot (#455)
- Bump pre-commit from 2.16.0 to 2.17.0 @dependabot (#456)
- Bump release-drafter/release-drafter from 5.17.5 to 5.17.6 @dependabot (#457)
- Bump flake8-simplify from 0.14.5 to 0.15.1 @dependabot (#458)
- Bump bandit from 1.7.1 to 1.7.2 @dependabot (#459)
- Bump coverage from 6.2 to 6.3 @dependabot (#460)
- Bump aresponses from 2.1.4 to 2.1.5 @dependabot (#461)
- Bump black from 21.12b0 to 22.1.0 @dependabot (#462)
- Bump pip from 21.3.1 to 22.0.2 in /.github/workflows @dependabot (#464)
- Bump blacken-docs from 1.12.0 to 1.12.1 @dependabot (#463)
- Bump coverage from 6.3 to 6.3.1 @dependabot (#465)
- Bump pip from 22.0.2 to 22.0.3 in /.github/workflows @dependabot (#467)
- Bump release-drafter/release-drafter from 5.17.6 to 5.18.1 @dependabot (#469)
- Bump actions/setup-python from 2.3.1 to 2.3.2 @dependabot (#468)
- Bump pytest-asyncio from 0.17.2 to 0.18.0 @dependabot (#471)
- Bump pytest from 6.2.5 to 7.0.0 @dependabot (#470)
- Bump poetry from 1.1.12 to 1.1.13 in /.github/workflows @dependabot (#474)
- Bump flake8-simplify from 0.15.1 to 0.15.2 @dependabot (#472)
- Bump pytest-asyncio from 0.18.0 to 0.18.1 @dependabot (#473)
- Bump flake8-simplify from 0.15.2 to 0.17.0 @dependabot (#475)
- Bump pytest from 7.0.0 to 7.0.1 @dependabot (#476)
- Bump flake8-simplify from 0.17.0 to 0.17.1 @dependabot (#477)
- Bump flake8-simplify from 0.17.1 to 0.18.0 @dependabot (#479)
- Bump coverage from 6.3.1 to 6.3.2 @dependabot (#478)
- Bump actions/setup-python from 2.3.2 to 3 @dependabot (#484)
- Bump actions/checkout from 2.4.0 to 3 @dependabot (#485)
- Bump actions/download-artifact from 2.1.0 to 3 @dependabot (#486)
- Bump pytest-asyncio from 0.18.1 to 0.18.2 @dependabot (#488)
- Bump flake8-simplify from 0.18.0 to 0.18.1 @dependabot (#481)
- Bump actions/upload-artifact from 2.3.1 to 3 @dependabot (#487)
- Bump bandit from 1.7.2 to 1.7.4 @dependabot (#489)
- Bump release-drafter/release-drafter from 5.18.1 to 5.19.0 @dependabot (#490)
- Bump flake8-bandit from 2.1.2 to 3.0.0 @dependabot (#492)
- Bump pyupgrade from 2.31.0 to 2.31.1 @dependabot (#493)
- Bump pytest from 7.0.1 to 7.1.0 @dependabot (#494)
- Bump mypy from 0.931 to 0.940 @dependabot (#495)
- Bump mypy from 0.940 to 0.941 @dependabot (#496)
- Bump pytest from 7.1.0 to 7.1.1 @dependabot (#497)
- Bump flake8-bugbear from 22.1.11 to 22.3.20 @dependabot (#498)
- Bump actions/cache from 2.1.7 to 3 @dependabot (#499)
- Bump flake8-bugbear from 22.3.20 to 22.3.23 @dependabot (#500)
- Bump mypy from 0.941 to 0.942 @dependabot (#502)
- Bump pylint from 2.12.2 to 2.13.0 @dependabot (#501)
- Bump flake8-simplify from 0.18.1 to 0.18.2 @dependabot (#503)
- Bump pylint from 2.13.0 to 2.13.2 @dependabot (#505)
- Bump pytest-asyncio from 0.18.2 to 0.18.3 @dependabot (#504)
- Bump actions/setup-node from 2.5.1 to 3 @dependabot (#482)
- Bump black from 22.1.0 to 22.3.0 @dependabot (#506)
- Bump flake8-simplify from 0.18.2 to 0.19.2 @dependabot (#508)
- Bump pylint from 2.13.2 to 2.13.3 @dependabot (#509)
- Bump pylint from 2.13.3 to 2.13.4 @dependabot (#510)
- Bump pre-commit from 2.17.0 to 2.18.1 @dependabot (#511)
- Bump codecov/codecov-action from 2.1.0 to 3 @dependabot (#512)
- Bump pylint from 2.13.4 to 2.13.5 @dependabot (#514)
- Bump pre-commit-hooks from 4.1.0 to 4.2.0 @dependabot (#513)
- Bump actions/stale from 4 to 5 @dependabot (#515)
- Bump pyupgrade from 2.31.1 to 2.32.0 @dependabot (#516)
- Bump pylint from 2.13.5 to 2.13.7 @dependabot (#517)
- Bump flake8-bugbear from 22.3.23 to 22.4.25 @dependabot (#520)
- Bump pytest from 7.1.1 to 7.1.2 @dependabot (#518)
- Bump github/codeql-action from 1 to 2 @dependabot (#519)
- Bump flake8-eradicate from 1.2.0 to 1.2.1 @dependabot (#521)
- Bump mypy from 0.942 to 0.950 @dependabot (#522)
- Bump pylint from 2.13.7 to 2.13.8 @dependabot (#523)
- Bump pyupgrade from 2.32.0 to 2.32.1 @dependabot (#524)
- Bump pre-commit from 2.18.1 to 2.19.0 @dependabot (#525)
- Bump pip from 22.0.4 to 22.1 in /.github/workflows @dependabot (#528)
- Bump release-drafter/release-drafter from 5.19.0 to 5.20.0 @dependabot (#526)
- Bump flake8-comprehensions from 3.8.0 to 3.9.0 @dependabot (#527)
- Bump coverage from 6.3.2 to 6.3.3 @dependabot (#529)
- Bump pylint from 2.13.8 to 2.13.9 @dependabot (#530)
- Bump pydantic from 1.9.0 to 1.9.1 @dependabot (#533)
- Bump flake8-comprehensions from 3.9.0 to 3.10.0 @dependabot (#531)
- Bump vulture from 2.3 to 2.4 @dependabot (#532)
- Bump pip from 22.1 to 22.1.1 in /.github/workflows @dependabot (#535)
- Bump coverage from 6.3.3 to 6.4 @dependabot (#534)
- Bump mypy from 0.950 to 0.960 @dependabot (#536)
- Bump pip from 22.1.1 to 22.1.2 in /.github/workflows @dependabot (#537)
- Bump pylint from 2.13.9 to 2.14.0 @dependabot (#538)
- Bump pyupgrade from 2.32.1 to 2.34.0 @dependabot (#541)
- Bump mypy from 0.960 to 0.961 @dependabot (#542)
- Bump pylint from 2.14.0 to 2.14.1 @dependabot (#540)
- Bump pre-commit-hooks from 4.2.0 to 4.3.0 @dependabot (#543)
- Bump actions/setup-python from 3 to 4 @dependabot (#544)
- Bump pylint from 2.14.1 to 2.14.2 @dependabot (#545)
- Bump pylint from 2.14.2 to 2.14.3 @dependabot (#546)
- Bump flake8-bugbear from 22.4.25 to 22.6.22 @dependabot (#547)
- Bump black from 22.3.0 to 22.6.0 @dependabot (#548)
- Bump coverage from 6.4 to 6.4.1 @dependabot (#539)
- Bump safety from 1.10.3 to 2.0.0 @dependabot (#549)
- Bump pylint from 2.14.3 to 2.14.4 @dependabot (#550)
- Bump flake8-bugbear from 22.6.22 to 22.7.1 @dependabot (#552)
- Bump vulture from 2.4 to 2.5 @dependabot (#551)
- Bump aresponses from 2.1.5 to 2.1.6 @dependabot (#553)
- Bump poetry from 1.1.13 to 1.1.14 in /.github/workflows @dependabot (#557)
- Bump pyupgrade from 2.34.0 to 2.37.0 @dependabot (#556)
- Bump pre-commit from 2.19.0 to 2.20.0 @dependabot (#555)
- Bump yamllint from 1.26.3 to 1.27.1 @dependabot (#554)
- Bump pyupgrade from 2.37.0 to 2.37.1 @dependabot (#558)
- Bump coverage from 6.4.1 to 6.4.2 @dependabot (#559)
- Bump safety from 2.0.0 to 2.1.0 @dependabot (#560)
- Bump pylint from 2.14.4 to 2.14.5 @dependabot (#561)
- Bump pytest-asyncio from 0.18.3 to 0.19.0 @dependabot (#562)
- Bump safety from 2.1.0 to 2.1.1 @dependabot (#563)
- Bump pyupgrade from 2.37.1 to 2.37.2 @dependabot (#564)
- Bump mypy from 0.961 to 0.971 @dependabot (#565)
- Bump pip from 22.1.2 to 22.2 in /.github/workflows @dependabot (#566)
- Bump pip from 22.2 to 22.2.1 in /.github/workflows @dependabot (#568)
- Bump pyupgrade from 2.37.2 to 2.37.3 @dependabot (#567)
- Bump flake8-simplify from 0.19.2 to 0.19.3 @dependabot (#569)
- Bump pip from 22.2.1 to 22.2.2 in /.github/workflows @dependabot (#570)
- Bump coverage from 6.4.2 to 6.4.3 @dependabot (#571)
- Bump pydantic from 1.9.1 to 1.9.2 @dependabot (#572)
- Bump flake8-eradicate from 1.2.1 to 1.3.0 @dependabot (#573)
- Bump release-drafter/release-drafter from 5.20.0 to 5.20.1 @dependabot (#574)
- Bump coverage from 6.4.3 to 6.4.4 @dependabot (#575)
- Bump codespell from 2.1.0 to 2.2.1 @dependabot (#576)
- Bump poetry from 1.1.14 to 1.1.15 in /.github/workflows @dependabot (#578)
- Bump pylint from 2.14.5 to 2.15.0 @dependabot (#580)
- Bump flake8-bugbear from 22.7.1 to 22.8.23 @dependabot (#579)
- Bump black from 22.6.0 to 22.8.0 @dependabot (#583)
- Bump pydantic from 1.9.2 to 1.10.2 @dependabot (#586)
- Bump pytest from 7.1.2 to 7.1.3 @dependabot (#585)
- Bump pylint from 2.15.0 to 2.15.2 @dependabot (#588)
- Bump yarl from 1.7.2 to 1.8.1 @dependabot (#587)
- Bump yamllint from 1.27.1 to 1.28.0 @dependabot (#590)
- Bump flake8-bugbear from 22.8.23 to 22.9.11 @dependabot (#589)
- Bump release-drafter/release-drafter from 5.20.1 to 5.21.0 @dependabot (#591)
- Bump pyupgrade from 2.37.3 to 2.38.0 @dependabot (#592)
- Bump poetry from 1.1.15 to 1.2.0 in /.github/workflows @dependabot (#582)
- Bump poetry from 1.2.0 to 1.2.1 in /.github/workflows @dependabot (#593)
- Bump vulture from 2.5 to 2.6 @dependabot (#594)
- Bump safety from 2.1.1 to 2.2.0 @dependabot (#595)
- Bump pylint from 2.15.2 to 2.15.3 @dependabot (#596)
- Bump aiohttp from 3.8.1 to 3.8.2 @dependabot (#597)
- Bump actions/stale from 5 to 6 @dependabot (#599)
- Bump aiohttp from 3.8.2 to 3.8.3 @dependabot (#600)
- Bump flake8-bugbear from 22.9.11 to 22.9.23 @dependabot (#601)
- Bump flake8-eradicate from 1.3.0 to 1.4.0 @dependabot (#598)
- Bump pyupgrade from 2.38.0 to 2.38.2 @dependabot (#602)
- Bump mypy from 0.971 to 0.981 @dependabot (#603)
- Bump coverage from 6.4.4 to 6.5.0 @dependabot (#605)
- Bump pytest-cov from 3.0.0 to 4.0.0 @dependabot (#604)
- Bump mypy from 0.981 to 0.982 @dependabot (#606)
- Bump pyupgrade from 2.38.2 to 3.0.0 @dependabot (#607)
- Bump safety from 2.2.0 to 2.3.1 @dependabot (#609)
- Bump black from 22.8.0 to 22.10.0 @dependabot (#610)
- Bump poetry from 1.2.1 to 1.2.2 in /.github/workflows @dependabot (#614)
- Bump pylint from 2.15.3 to 2.15.4 @dependabot (#612)
- Bump pyupgrade from 3.0.0 to 3.1.0 @dependabot (#613)
- Bump codespell from 2.2.1 to 2.2.2 @dependabot (#615)
- Bump pip from 22.2.2 to 22.3 in /.github/workflows @dependabot (#616)
- Bump release-drafter/release-drafter from 5.21.0 to 5.21.1 @dependabot (#617)
- Bump flake8-builtins from 1.5.3 to 2.0.0 @dependabot (#611)
- Bump pylint from 2.15.4 to 2.15.5 @dependabot (#619)
- Bump pytest-asyncio from 0.19.0 to 0.20.1 @dependabot (#618)
- Bump flake8-bugbear from 22.9.23 to 22.10.25 @dependabot (#620)
- Bump pytest from 7.1.3 to 7.2.0 @dependabot (#621)
- Bump flake8-bugbear from 22.10.25 to 22.10.27 @dependabot (#622)
- Bump flake8-comprehensions from 3.10.0 to 3.10.1 @dependabot (#624)
- Bump pyupgrade from 3.1.0 to 3.2.0 @dependabot (#623)
- Bump flake8-builtins from 2.0.0 to 2.0.1 @dependabot (#625)
- Bump pip from 22.3 to 22.3.1 in /.github/workflows @dependabot (#626)
- Bump mypy from 0.982 to 0.990 @dependabot (#627)
- Bump pyupgrade from 3.2.0 to 3.2.1 @dependabot (#628)
- Bump mypy from 0.990 to 0.991 @dependabot (#631)
- Bump pytest-asyncio from 0.20.1 to 0.20.2 @dependabot (#630)
- Bump pyupgrade from 3.2.1 to 3.2.2 @dependabot (#629)
- Bump pylint from 2.15.5 to 2.15.6 @dependabot (#632)
- Bump safety from 2.3.1 to 2.3.2 @dependabot (#633)
- Bump pre-commit-hooks from 4.3.0 to 4.4.0 @dependabot (#634)
- Bump safety from 2.3.2 to 2.3.3 @dependabot (#635)
- Bump pyupgrade from 3.2.2 to 3.2.3 @dependabot (#636)
- Bump dessant/lock-threads from 3.0.0 to 4.0.0 @dependabot (#638)
- Bump pyupgrade from 3.2.3 to 3.3.0 @dependabot (#639)
- Bump yarl from 1.8.1 to 1.8.2 @dependabot (#640)
- Bump pylint from 2.15.7 to 2.15.8 @dependabot (#641)
- Bump safety from 2.3.3 to 2.3.4 @dependabot (#644)
- Bump certifi from 2021.10.8 to 2022.12.7 @dependabot (#645)
- Bump flake8-bugbear from 22.10.27 to 22.12.6 @dependabot (#642)
- Bump pyupgrade from 3.3.0 to 3.3.1 @dependabot (#643)
- Bump pytest-asyncio from 0.20.2 to 0.20.3 @dependabot (#647)
- Bump safety from 2.3.4 to 2.3.5 @dependabot (#646)
- Bump poetry from 1.2.2 to 1.3.1 in /.github/workflows @dependabot (#648)
- Bump black from 22.10.0 to 22.12.0 @dependabot (#649)
- Bump isort from 5.10.1 to 5.11.1 @dependabot (#650)
- Bump isort from 5.11.1 to 5.11.2 @dependabot (#651)
- Bump coverage from 6.5.0 to 7.0.0 @dependabot (#654)
- Bump pylint from 2.15.8 to 2.15.9 @dependabot (#652)
- Bump isort from 5.11.2 to 5.11.3 @dependabot (#653)
- Bump actions/stale from 6 to 7 @dependabot (#655)
- Bump isort from 5.11.3 to 5.11.4 @dependabot (#656)
- Bump flake8-builtins from 2.0.1 to 2.1.0 @dependabot (#657)
- Bump pre-commit from 2.20.0 to 2.21.0 @dependabot (#659)
- Bump coverage from 7.0.0 to 7.0.1 @dependabot (#658)
- Bump setuptools from 65.3.0 to 65.5.1 @dependabot (#660)
- Bump pydantic from 1.10.2 to 1.10.3 @dependabot (#661)
- Bump pydantic from 1.10.3 to 1.10.4 @dependabot (#662)
- Bump release-drafter/release-drafter from 5.21.1 to 5.22.0 @dependabot (#663)
- Bump coverage from 7.0.1 to 7.0.2 @dependabot (#664)
- Bump coverage from 7.0.2 to 7.0.3 @dependabot (#665)
- Bump vulture from 2.6 to 2.7 @dependabot (#666)
- Bump gitpython from 3.1.26 to 3.1.30 @dependabot (#668)
- Bump coverage from 7.0.3 to 7.0.4 @dependabot (#667)
- Bump pylint from 2.15.9 to 2.15.10 @dependabot (#669)
- Bump coverage from 7.0.4 to 7.0.5 @dependabot (#672)
- Bump poetry from 1.3.1 to 1.3.2 in /.github/workflows @dependabot (#670)
- Bump yamllint from 1.28.0 to 1.29.0 @dependabot (#671)
- Bump pytest from 7.2.0 to 7.2.1 @dependabot (#675)
- Bump flake8-bugbear from 22.12.6 to 23.1.14 @dependabot (#674)
- Bump blacken-docs from 1.12.1 to 1.13.0 @dependabot (#676)
- Bump flake8-bugbear from 23.1.14 to 23.1.17 @dependabot (#677)
- Bump flake8-bugbear from 23.1.17 to 23.1.20 @dependabot (#678)
- Bump pre-commit from 2.21.0 to 3.0.0 @dependabot (#679)
- Bump coverage from 7.0.5 to 7.1.0 @dependabot (#680)
- Bump flake8-docstrings from 1.6.0 to 1.7.0 @dependabot (#681)
- Bump pre-commit from 3.0.0 to 3.0.1 @dependabot (#682)
- Bump isort from 5.11.4 to 5.12.0 @dependabot (#683)
- Bump pre-commit from 3.0.1 to 3.0.2 @dependabot (#684)
- Bump pylint from 2.15.10 to 2.16.0 (#687)Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> @dependabot (#687)
- Bump pre-commit from 3.0.2 to 3.0.3 (#686)Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> @dependabot (#686)
- Bump pylint from 2.16.0 to 2.16.1 @dependabot (#688)