core: Keymitt MicroBot Push error
The problem
Since last HA release, “Keymitt MicroBot Push” not always respond and 3 errors into the log
What version of Home Assistant Core has the issue?
2024.2.0b7
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Keymitt MicroBot Push
Link to integration documentation on our website
https://rc.home-assistant.io/integrations/keymitt_ble
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: py.warnings
Source: components/keymitt_ble/switch.py:50
First occurred: 17:58:57 (3 occurrences)
Last logged: 18:04:50
/usr/local/lib/python3.12/site-packages/microbot/__init__.py:240: RuntimeWarning: coroutine 'MicroBotApiClient.is_connected' was never awaited if self.is_connected():
------------------------------------
Logger: microbot
Source: components/keymitt_ble/switch.py:55
First occurred: 18:00:02 (16 occurrences)
Last logged: 18:04:43
Failed to set token: Characteristic {char_specifier} was not found!
Failed to push: Characteristic {char_specifier} was not found!
Failed to set token: Peripheral D6:DE:71:E3:3F:9C changed connection status while waiting for BluetoothGATTWriteResponse, BluetoothGATTErrorResponse: Unknown error (0)
Peripheral D6:DE:71:E3:3F:9C changed connection status while waiting for BluetoothGATTNotifyResponse, BluetoothGATTErrorResponse: Unknown error (22)
Bluetooth GATT Error address=D6:DE:71:E3:3F:9C handle=23 error=-1 description=Not connected
------------------------------------
Logger: microbot
Source: components/keymitt_ble/switch.py:50
First occurred: 18:02:32 (5 occurrences)
Last logged: 18:04:43
'bool' object is not callable
Failed to push: Peripheral D6:DE:71:E3:3F:9C changed connection status while waiting for BluetoothGATTWriteResponse, BluetoothGATTErrorResponse: Unknown error (0)
Failed to set token: Peripheral D6:DE:71:E3:3F:9C changed connection status while waiting for BluetoothGATTWriteResponse, BluetoothGATTErrorResponse: Unknown error (0)
Failed to push: Characteristic {char_specifier} was not found!
Additional information
No response
About this issue
- Original URL
- State: open
- Created 5 months ago
- Comments: 26 (25 by maintainers)
@home-assistant reopen
2024.3.0b0
#110502 made it into 2024.2.2 but unfortunately it’s no help without #110506. Just waiting on that to be approved. I have it working locally
@spycle if you encounter a bug you fix during beta period please ask to add it to the next milestone. I have added your fixes for now hopefully they won’t have merge conflicts as beta was just shipped 3 hours ago.