## Introduction to Xiaomi Home Assistant
The Xiaomi Home Assistant is a smart home device that allows users to control and automate various aspects of their home. However, some users have reported issues with the preset modes, including incorrect naming and failure to switch modes using the climate.set_preset_mode service/action.
## Understanding the Problem
The preset modes on the Xiaomi Home Assistant are not named correctly, with modes such as "ручной режим" and "Режим сна" being displayed instead of the expected English names. Additionally, when attempting to switch the mode using the climate.set_preset_mode service/action, an error is returned, stating that the preset mode is invalid.
## Identifying the Cause
The issue is likely caused by the device's language settings, which are set to Russian by default. This is resulting in the preset modes being translated into Russian, rather than being displayed in English.
## Reproducing the Issue
To reproduce the issue, users can attempt to change the preset modes in the interface, which should work without any problems. However, when trying to change the mode using the command service calls/actions climate.set_preset_mode, an error will be returned, stating that the preset mode is invalid.
## Expected Behavior
The preset modes should work correctly and have English names, such as "Manual", "Inhome", "Outhome", "Smart", and "Sleep".
## Resolution
To resolve the issue, users can try changing the language settings on their device to English. This should result in the preset modes being displayed in English, rather than Russian. Additionally, users can try updating their Xiaomi Home Assistant to the latest version, which may include a fix for the issue.
## Additional Context
The issue has been reported by multiple users, and it is not limited to a specific version of the Xiaomi Home Assistant. The problem has been observed on various devices, including the cubee.airrtc.th123e, cubee.airrtc.th125t, cubee.airrtc.th123w, and cubee.airrtc.th125a.
## Conclusion
In conclusion, the preset mode issue on the Xiaomi Home Assistant can be resolved by changing the language settings to English and updating the device to the latest version. Users who are experiencing this issue should try these steps to resolve the problem and ensure that their device is working correctly.