Xiaomi entities doubles

Hi,
After upgrading to 0.54 I have all Xioami binary sensors doubled in the entities list page.
The doubled ones have ‘_2’ in the end.
Regards
Robert

Do you have discovery enabled?
Do you have a custom xiaomi component?

I have discovery enabled and xiaomi entry in the configuration.yaml.

I have with off “discovery” and it is OK now.

I have discovery enabled yeah, not custom component though, just 2 gateways and loads of sensors etc :slight_smile:
Do I need to turn off discovery?

Yes Turn off discovery.

or remove the xiaomi entries in the config?

Just try both.

I have the same issue. Turning of discovery seems to for now solve it, but I assume this prevents new devices (also non Xiaomi) from being found?

I do not see Xiaomi listed on the Discovery page, so it seems we are not able to prevent this specific platform to be ignored?

Do you have a custom component for Xiaomi? Check YOUR_CONFIG_PATH/custom_components and delete all xiaomi.py files. Check the subfolders too.

If you do not have any custom components for xiaomi. You should report an issue here: https://github.com/home-assistant/home-assistant/issues/new

The problem was not a custom component but not renaming the xiaomi platform in configuration.yaml to xiaomi_aqara.

Now the section in configuration.yaml looks like this:

xiaomi_aqara:
  gateways:
   # Ground Floor
   - mac: XX:XX:XX:XX:XX:XX
     key: XXXXXXXXXXXXXXXX
   # First Floor
   - mac: XX:XX:XX:XX:XX:XX
     key: XXXXXXXXXXXXXXXX
   # Second Floor
   - mac: XX:XX:XX:XX:XX:XX
     key: XXXXXXXXXXXXXXXX

Thank you for all the hard work and support!

1 Like

Confirmed.
All is OK with ‘xiaomi_aqara’ entry.