home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.98k stars 31.03k forks source link

ZHA no recognizing Xiaomi Smart Plugs correctly #79112

Closed hcpalka closed 2 years ago

hcpalka commented 2 years ago

The problem

I have connected a number of Xiaomi Smart Plugs via ZHA - for several of them the smart metering entities are not recognized.

With deConz all of the plugs have been working perfectly before

image

For the next plug, despite it being the same model, only a very limited number of entities are recognized

image

..and here is another unrecognized smart plug:

image

Thank you for providing insights on how to fix this.

Best regards

Christian

What version of Home Assistant Core has the issue?

2022 9.7

What was the last working version of Home Assistant Core?

9.4 with deConz instead of ZHA

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA

Link to integration documentation on our website

No response

Diagnostics information

zha-74359e314c7746ffbae23fd406e84d42-LUMI lumi.plug.mmeu01-89b20d448d5fefe8199e575e01e7e6b7.json.txt zha-74359e314c7746ffbae23fd406e84d42-LUMI lumi.plug.mmeu01-89b20d448d5fefe8199e575e01e7e6b7.json.txt zha-74359e314c7746ffbae23fd406e84d42-LUMI lumi.plug.mmeu01-89b20d448d5fefe8199e575e01e7e6b7.json.txt zha-74359e314c7746ffbae23fd406e84d42-_TZ3000_dpo1ysak TS011F-9177b048a2a6659645c6c31db5198753.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

homeassistant commented 2 years ago

Hey there @dmulcahey, @adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)


zha documentation zha source (message by IssueLinks)

TheJulianJES commented 2 years ago

See the "Testing" section of this PR: https://github.com/zigpy/zha-device-handlers/pull/1656

dmulcahey commented 2 years ago

@TheJulianJES will the new quirks release fix this?

TheJulianJES commented 2 years ago

@dmulcahey Yeah, this should be fixed since 2022.10.5 (new Aqara plug quirk(s) landed in that version)

Re-pairing of the plugs is likely required if it wasn't working correctly before.

(For some newer plugs, a firmware update on the ConBee might also be needed to send out Xiaomi manufacturing codes, but I don't think this is needed for mmeu01 models.)

dmulcahey commented 2 years ago

Closing per note above.