* Discover Cups and Travel Mugs, but they are still not fully supported * Debug option to print services and characteristics for debugging
0.6.0
Changed
* EmberMugConnection changed to EmberMug * EmberMug changed to MugData * Made ensure_connection private and call it automatically in most cases * Log if disconnect was expected or not
Added
* Lock for operations to ensure only one at a time * _ensure_connection now called before every write and before bulk reads
Fixed
* Changed condition that caused connections to be constantly reestablished because is_connected is not a bool. * Don't call disconnect in disconnect callback
0.5.6
Fixed
* Set proper attribute for on charging base
Changed
* Update pre-commit, pytest and add dependabot * register callback stores a dict to avoid duplicate registrations
0.5.5
Changed
* Set values on mug immediately after setting them * Only add/remove callback if not already done
0.5.4
Added
* More logging for different methods
Changed
* Bump bleak to >=0.19.5 for Home Assistant 2023.2 * Catch exceptions on querying DSK and UDSK and return empty strings * No longer query "extra" attributes unless `include_extra=True` was passed to mug
0.5.3
Changed
* Changed UUIDs, PushEvent IDs, LiquidState and TemperatureUnit to Enum * TemperatureUnit changed to include degree symbol to match with Home Assistant
Added
* Added _read and_write helper methods with logging