Releases: sergeymaysak/smartercoffee
Releases · sergeymaysak/smartercoffee
Async fix. Buttons introduction.
- Compatibility fixes for python 3.11 async and 2023.x deprecated async_setup_platforms
- new feature: buttons introduced - Start Brew and Stop Brew
Better py 3.10 support.
- fixed lock behavior - moved its creation into the context of the desired loop since it is not specified explicitly.
Compatibility with py 3.10
- removed deprecated argument loop from Lock constructor for async io
Networking significantly improved.
- fixed issue with writer.wait_closed which hangs at some moments - in return it does not allow to reopen the connection to the device
- removed loop as the parameter for create_connection in order to be compatible with py 3.10 where this parameter removed
- fixed deadlock on closing connection while sending other commands from the main loop
Fixed compatibility with HA 2022.x
- removed dependencies on deprecated device class for switch and binary_sensor
Ready status improved.
Fixed issue with incorrect reporting of status when hot plate stopped.
Defect fixes.
- correct call of async_timeout
Polling interval increased to 10 minutes.
The carafe detection switch uses polling to get the current state. Default polling interval in 30 seconds makes coffee machine device unresponsive in 4 hours. To fix this polling interval has been increased to 10 minutes.
Fixed reversed detect carafe logic.
- fixed reversed detect carafe logic.
Control carafe detection.
New for this release:
- added a switch to disable or enable carafe detection.