Resolving the Xiaomi Home Assistant Fan Control Issue
in Post with 0 comment

The Xiaomi Home Assistant has been experiencing issues with controlling the fan's speed when it is turned off. When the fan is off and a user attempts to switch to a different speed, the system reports an error and fails to execute the 'fan/set_percentage' action. This issue has been observed in the Home Assistant logs, which indicate that the problem is related to the 'fan.py' and 'miot_device.py' files in the custom_components folder. To resolve this issue, it is recommended to update the Xiaomi Home Integration version to the latest available version. Additionally, users can try resetting the fan device and restarting the Home Assistant system to see if it resolves the issue. It is also suggested to check the entity_id and service_call parameters to ensure they are correctly configured. The correct logic should be to turn on the fan and set the speed to the desired level when the fan is off and a user attempts to switch speeds. By addressing this issue, users can enjoy seamless control over their fans using the Xiaomi Home Assistant.

The article has been posted for too long and comments have been automatically closed.