ble_monitor: Error doing job: Future exception was never retrieved HassOS 64bit 4.15 mitemp_bt 0.7.5 work only couple minutes after start
Hardware: RPI4 4GB
I try downgrade to HassOS 4.13 still no work.
I have 2x LYWSD03MMC and today stopped working
My LYWSD02 show battery level attribute and no showing temp/humidity. Sometimes when restart show corretly and freeze.
`Logger: homeassistant Source: custom_components/mitemp_bt/sensor.py:696 First occurred: 1:12:02 (1 occurrences) Last logged: 1:12:02
Error doing job: Future exception was never retrieved Traceback (most recent call last): File “/usr/local/lib/python3.8/concurrent/futures/thread.py”, line 57, in run result = self.fn(*self.args, **self.kwargs) File “/config/custom_components/mitemp_bt/sensor.py”, line 804, in update_ble discover_ble_devices(config, aeskeys, whitelist) File “/config/custom_components/mitemp_bt/sensor.py”, line 696, in discover_ble_devices setattr(sensors[b_i], “_state”, batt[mac]) IndexError: list index out of range `
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 27
Thanks. I will make a new release tonight after updating the readme.
I’m a little busy, so do it as you can…
Yes, that is an option. But changing it to 2 as above is also fine, I guess. If one doesn’t have the latest firmware, it will show unknown, if one does it will report.
Edit: I was 10 seconds too late… Same thought
ESPhome is also reporting battery level available for LYWSD02
https://github.com/esphome/issues/issues/1508
https://github.com/esphome/esphome/pull/1334