Lost Connection with LYWSDCGQ after upgrade to HA 0.112
See original GitHub issueHello,
i run HA core on RPi 3b with Buster.
With 0.111.4 version all work fine but, after upgrade to 0.112, i lose connection with my Xiaomi Hygrothermograph.
This is my basically configuration:
sensor:
- platform: mitemp_bt
batt_entities: true
and this is log:
Jul 1 20:58:34 raspberrypi hass[486]: 2020-07-01 20:58:34 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Jul 1 20:58:34 raspberrypi hass[486]: Traceback (most recent call last):
Jul 1 20:58:34 raspberrypi hass[486]: File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
Jul 1 20:58:34 raspberrypi hass[486]: result = self.fn(*self.args, **self.kwargs)
Jul 1 20:58:34 raspberrypi hass[486]: File "/home/homeassistant/.homeassistant/custom_components/mitemp_bt/sensor.py", line 775, in update_ble
Jul 1 20:58:34 raspberrypi hass[486]: discover_ble_devices(config, aeskeys, whitelist)
Jul 1 20:58:34 raspberrypi hass[486]: File "/home/homeassistant/.homeassistant/custom_components/mitemp_bt/sensor.py", line 669, in discover_ble_devices
Jul 1 20:58:34 raspberrypi hass[486]: sensors[b_i].schedule_update_ha_state()
Jul 1 20:58:34 raspberrypi hass[486]: File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 416, in schedule_update_ha_state
Jul 1 20:58:34 raspberrypi hass[486]: assert self.hass is not None
Jul 1 20:58:34 raspberrypi hass[486]: AssertionError
i try to do again command for setcap, but nothing change i try with hcitool lescan and this found my device
restart HA many times, rebooted Rpi, nothing change
sometime, at start with these errors, found only battery entity rare times, only temperature entity
i repeat with 0.111.4 all work fine
Issue Analytics
- State:
- Created 3 years ago
- Reactions:10
- Comments:34
Top Results From Across the Web
lost connection after update to HassOs 4.14 #123 - GitHub
running on RPI 3 and got an update to HassOS 4.14 where all my connections ... Lost Connection with LYWSDCGQ after upgrade to...
Read more >Xiaomi Mijia BLE Sensors - ESPHome
After the connection is established, you press the “Do Activation” button and the new key will be shown in the “Mi Bind Key”...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeahhh!!
This solve every problem for me!!!
Thanks!
Please try the latest beta version 0.7.1.