Python-ember-mug

Latest version: v1.1.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

0.6.1

Added

* 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

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.