AlexxIT / XiaomiGateway3

Home Assistant custom component for control Xiaomi Multimode Gateway (aka Gateway 3), Xiaomi Multimode Gateway 2, Aqara Hub E1 on default firmwares over LAN
https://github.com/AlexxIT/Blog
MIT License
2.48k stars 349 forks source link

PTX BLE Wireless Switch cannot be used normally #1309

Open ARC-MX opened 8 months ago

ARC-MX commented 8 months ago

When the PTX wireless switch is pressed, homeassistant cannot read the switch state. xiaomigetway3 shows' This entity is no longer being provided by the xiaomi_gateway3 integration. If the entity is no longer in use, delete it in settings.’ image

AlexxIT commented 8 months ago

Show device diagnostics

ARC-MX commented 7 months ago

xiaomi_gateway3-6d4f45eb86975739da6008732c92bb64-PTX BLE Wireless Switch-43e6caba41f22e6fd73352d7a6d33d9a-3.json

AlexxIT commented 7 months ago

I think the device is no longer in your gateway's database. I don't know why it might be missing.

ARC-MX commented 7 months ago

I think the reason is that the gateway3 plug-in does not support this device. PTX wireless switch is a substitute for Xiaomi button(XMWXKG01LM), which is normally used in Xiaomi APP

AlexxIT commented 7 months ago

But you have entities. So the gateway has seen this device before

ARC-MX commented 7 months ago

Screenshot_20240419_202114.jpg

This is the Xiaomi APP showing my device and it still works

AlexxIT commented 7 months ago

You can restart Hass. Devices list loaded on integration start

ARC-MX commented 7 months ago

I tried it, but nothing changed, and I don't know if it's the problem with this PTX device

ARC-MX commented 6 months ago

I have fixed this bug. My Homeassistant is connected to the router, but the Mijia gateway is connected to other devices, although the same subnet, but there will be problems.