Courtesy of @oyvindkinsey:
- Add support for fetching groups from Avi-on's API
- device.device_id is now device.avid to better reflect the underlying datamodel
Courtesy of @oyvindkinsey:
- Update the use of Avi-on's API to the current v3
- Fix incorrect use of avid (this now also supports groups etc)
- Add new function for constructing packets that work for both devices and groups
- Remove use of deprecated BLEDevices.rssi
- Replaced product_ids filtering with a type filter
- Sort devices by RSSI before connecting to avoid unnecessary delay
(BREAKING)
- Remove support for
user_id
(username/email is sufficient) - Support offline loading of devices (e.g. in case of internet outage)
- Read
user_id
to provide a permanent ID for the HALO Home account
- Raise HaloHomeError when credentials are not valid
- Support mesh communication (only need to connect to a single device to control all of them)
- Make network and bluetooth connections async
- Initial release