Releases: home-assistant-libs/aioshelly
Releases · home-assistant-libs/aioshelly
1.0.6
What's Changed
- Allow /shelly endpoint data refresh (#178) @chemelli74
1.0.5
What's Changed
- Minor log improvement (#167) @chemelli74
- Add trigger reboot call (#161) @mib1185
- Example.py: allow CoAP port customization and debug logging level (#163) @chemelli74
- Add aiohttp debug logging (#164) @chemelli74
1.0.4
What's Changed
- Add missing timeout to client sessions (#158) @chemelli74
- fix: use options instead of ConnectionOptions in example (#156) @rfvermut
1.0.3
What's Changed
- Fix RPC device - skip status until device is initialized (#153) @thecode
- Add new Shelly model names (#154) @thecode
- Handle Unicode decode error (#152) @chemelli74
- Add trigger_ota_update for gen2 devices (#150) @chemelli74
1.0.2
What's Changed
- Check min fw version for gen2 devices (#143) @chemelli74
- Add heartbeat to WsRPC (#142) @thecode
1.0.1
1.0.0
What's Changed
- Bump version to 1.0.0 (#135) @thecode
- Add typing to example.py (#138) @thecode
- Add py.typed file (#137) @bieniu
- Enable strict typing (#127) @chemelli74
- Strict typing part V: block_device.py (#136) @chemelli74
- Strict typing part IV: rpc_device.py (#133) @chemelli74
- Strict typing part III: wsrpc.py (#132) @chemelli74
- Update README.md file for Gen2 support (#134) @thecode
- Strict typing part I: coap.py (#130) @chemelli74
- Strict typing part II: common.py (#131) @chemelli74
- Revert BlockDevice shutdown to sync (#129) @thecode
- Add Shelly Gen2 Support (#128) @thecode
Shelly Gen2 Support
Shelly Gen2 devices are based on RPC over Web socket and are not backward compatible with Gen1 (CoAP based) devices.
This is a refactor of the aioshelly
library and has breaking changes. Library will support both Gen1 & Gen2 devices.
More details about Gen2 devices API can be found here: https://shelly-api-docs.shelly.cloud/gen2/
Breaking changes
Due to refactoring for supporting Gen2 devices, Gen1 (CoAP/Block) device class is moved to block_device
, in most cases this results by imports using Gen1 block device changed, major changes:
from aioshelly import Block
is changed tofrom aioshelly.block_device import Block
- Constants should be imported from
aioshelly.const
instead fromaioshelly
- Exceptions should be imported from
aioshelly.exceptions
instead fromaioshelly
request_s
which was for internal use is removed fromdevice.initialize
ConnectionOptions
andget_info
are now atcommon.py
instead of__init__.py
0.6.4
What's Changed
- Temporarily exclude new devices (#106) @chemelli74
- Add missing bandit config file (#104) @chemelli74
- Minor cleanups (#103) @chemelli74
- Add docker files (#102) @chemelli74
0.6.3
What's Changed
- Bump flake8 from 3.9.1 to 3.9.2 (#100) @dependabot
- Bump black from 21.4b2 to 21.5b0 (#99) @dependabot
- Improve logging (#98) @chemelli74
- Bump black from 21.4b0 to 21.4b2 (#97) @dependabot
- Bump pylint from 2.8.1 to 2.8.2 (#96) @dependabot
- Bump black from 20.8b1 to 21.4b0 (#95) @dependabot
- Bump pylint from 2.7.4 to 2.8.1 (#94) @dependabot
- Bump pre-commit from 2.12.0 to 2.12.1 (#93) @dependabot
- Bump flake8 from 3.9.0 to 3.9.1 (#92) @dependabot
- Bump pre-commit from 2.11.1 to 2.12.0 (#91) @dependabot
- Add trigger_ota_update device method (#90) @mib1185
- Bump pylint from 2.7.2 to 2.7.4 (#89) @dependabot
0.6.2
What's Changed
- Fix device initialize (#87) @thecode
- Shelly 4Pro and Shelly Sense are unsupported (#86) @chemelli74
- Improve logging (#84) @chemelli74
- Allow socket port customization (#85) @chemelli74