## Introduction to Xiaomi Home Assistant
The Xiaomi Home Assistant is a smart home device that allows users to control and monitor their home appliances remotely. However, some users have reported issues with the device not being added to the device list.
## Problem Description
The Xiaomi smart cube is not being added to the device list, and the notification bar shows that it is offline. This issue occurs after adding the Xiaomi account to Home Assistant.
## Steps to Reproduce the Issue
1. Add the Xiaomi account to Home Assistant.
2. Check the notification bar for the Xiaomi smart cube status.
3. Verify that the device list does not include the smart cube.
## Expected Behavior
The Xiaomi smart cube should be visible in the device list and have a rotation event entity.
## Troubleshooting Steps
To resolve this issue, try the following steps:
1. Check the Home Assistant logs for any error messages related to the Xiaomi integration.
2. Verify that the Xiaomi Home Integration version is up-to-date.
3. Restart the Home Assistant server and try adding the Xiaomi account again.
## Example Use Case
A user wants to control their Xiaomi smart cube using Home Assistant. However, after adding the Xiaomi account, the device is not visible in the device list. By following the troubleshooting steps, the user can resolve the issue and successfully integrate their Xiaomi smart cube with Home Assistant.
## Conclusion
The Xiaomi Home Assistant integration can be a powerful tool for smart home automation. By understanding the common issues that may arise and following the troubleshooting steps, users can ensure a seamless and efficient integration experience.