core icon indicating copy to clipboard operation
core copied to clipboard

Multiple Issues with ZHA and Aqara Devices after update to 2024.8.x

Open tbrausch opened this issue 5 months ago • 33 comments

The problem

After uprading to any version of 2024.8.x I have the following 4 issues:

  1. All zigbee devices are offline after the update. Slowly the Philips lights and SONOFF switches will come back online but even with a reset I cannot get the Aqara devices to work (door, temperature, button and motion sensors). If I revert back to 2024.7.x, then all sensors are back online. The following is the ZHA debug info from the update and subsequent restart: home-assistant_zha_2024-08-25T18-43-57.936Z.log The following is the diagnostic data file: config_entry-zha-7eb3d3902e082d5ae18fe04b1f890571.json

  2. After the HA upgrade, I tried to load a ZHA backup that was done previously to see if this corrected the offline issues and it reported an error. On further testing the backup file was successfully loaded, but the devices were still not available and the groups were still deleted.

  3. All groups defined in ZHA were deleted after the HA update. Note that they only referenced Aqara devices.

  4. I have multiple automations that use Aqara buttons as the trigger. After the HA update I could not restart HA due to config errors reported in all of these automations. Commmenting them out allowed the system to restart. Each automation had a trigger similar to this:

- id: button_lr_single
  alias: '[Light] Control Living Room Light'
  initial_state: true
  mode: single
  trigger:
  - device_id: dc08ad3eab5e9e12cdee7c5b0204799f
    domain: zha
    platform: device
    type: remote_button_short_press
    subtype: remote_button_short_press

Afterr reverting back to HA 2024.7.4 everything was restored to working order.

The following is a log of the errors reported when trying to load these automations: Cannot Restart.log

I am using a Conbee ii coordinator:

Device info
Conbee II
by dresden elektronik
Connected via dresden elektronik Conbee II
Firmware: 0x26720700
Zigbee info
IEEE: e0:79:8d:ff:fe:1d:15:b5
Nwk: 0x0000
Device Type: Coordinator
LQI: 221
RSSI: 30
Last seen: 2024-08-25T14:43:07
Power source: Mains

What version of Home Assistant Core has the issue?

core-2024.8.0

What was the last working version of Home Assistant Core?

core-2024.7.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA with Aqara devices

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

tbrausch avatar Aug 25 '24 19:08 tbrausch