0.5.9
0.5.9 (2021-11-30)
Besides enhancements and bug fixes, this release includes plenty of janitoral work to enable common base classes in the future.
For library users:
- Integrations are slowly moving to their own packages and directories, e.g. the vacuum module is now located in
miio.integrations.vacuum.roborock
. - Using
Vacuum
is now deprecated and will be later used as the common interface class for all vacuum implementations. For roborock vacuums, useRoborockVacuum
instead.
Breaking changes:
- Move vacuums to self-contained integrations #1165 (rytilahti)
- Remove unnecessary subclass constructors, deprecate subclasses only setting the model #1146 (rytilahti)
- Remove deprecated cli tools (plug,miceil,mieye) #1130 (rytilahti)
Implemented enhancements:
- Upgrage install and pre-commit dependencies #1192 (rytilahti)
- Add py.typed to the package #1184 (rytilahti)
- airhumidifer_(mj)jsq: Add use_time for better API compatibility #1179 (rytilahti)
- vacuum: return none on is_water_box_attached if unsupported #1178 (rytilahti)
- Add more supported vacuum models #1173 (OGKevin)
- Reorganize yeelight specs file #1166 (Kirmas)
- enable G1 vacuum for miiocli #1164 (ghoost82)
- Add light specs for yeelight #1163 (Kirmas)
- Add S5 MAX model to support models list. #1157 (OGKevin)
- Use poetry-core as build-system #1152 (rytilahti)
- Support for Xiaomi Mijia G1 (mijia.vacuum.v2) #867 (neturmel)
Fixed bugs:
- Fix test_properties command logic #1180 (Zuz666)
- Make sure all device-derived classes accept model kwarg #1143 (rytilahti)
- Make cli work again for offline gen1 vacs, fix tests #1141 (rytilahti)
- Fix
water_level
calculation for humidifiers #1140 (bieniu) - fix TypeError in gateway property exception handling #1138 (starkillerOG)
- Do not get battery status for mains powered devices #1131 (starkillerOG)
Deprecated:
New devices:
Documentation updates:
- Docs: Add workaround for file upload failure #1155 (martin-kokos)
- Add examples how to avoid model autodetection #1142 (rytilahti)
- Restructure & improve documentation #1139 (rytilahti)
Merged pull requests:
- Add Air Purifier Pro H support #1185 (pvizeli)
- Allow publish on test pypi workflow to fail #1177 (rytilahti)
- Relax pyyaml version requirement #1176 (rytilahti)
- create separate directory for yeelight #1160 (Kirmas)
- Add workflow to publish packages on pypi #1145 (rytilahti)
- Add tests for DeviceInfo #1144 (rytilahti)
- Mark device_classes inside devicegroupmeta as private #1129 (rytilahti)