Xiaomi Mi Motion Sensor is not visible on the Dashboard

Hello! Sorry but I’m new here. Thank you in advance for your help. The case is as follows: I have Xiaomi devices that I am trying to integrate with Home Assistant. Lighting and sockets work without problems. But in the case of the Mi Smart Home Hub (Model: ZNDMWG02LM) and a Xiaomi Miio integration. The Gateway Alarm and Gateway Illuminance appear on the dashboard, but both have the Unavailable status. I also have a Mi Motion Sensor (Model: RTCGQ01LM) integrated into the Hub, but it does not appear on the Home Assistant dashboard. This prevents you from creating automations from the Motion Sensor. I appreciate your help.