After upgrading HA to 2024.5.X integration is not allowing sending commands to the Dreame application.
Data can be read by the integration normally but only when reloading the integration. Nonetheless the issue I’m referring here comes when trying to send any command.
To Reproduce
Send any command to the app using HA integration (such as selecting a cleaning mode like mopping)
Expected behavior
I expect the command to be executed
Additional Information (please complete the following information)
Integration version: v2.0.0b9
Model Name: dreame.vacuum.r2253w
Firmware Version: 4.3.6_1510
Home Assistant Version: 2024.5.2
Configuration Type: with map support
Errors or warnings shown in the HA logs (if applicable):
This error pops up:
Failed to call service select/select_option. Detected that custom integration 'dreame_vacuum' calls async_write_ha_state from a thread at custom_components/dreame_vacuum/vacuum.py, line 643: self.async_write_ha_state(). Please report it to the author of the 'dreame_vacuum' custom integration.
After upgrading HA to 2024.5.X integration is not allowing sending commands to the Dreame application. Data can be read by the integration normally but only when reloading the integration. Nonetheless the issue I’m referring here comes when trying to send any command.
To Reproduce Send any command to the app using HA integration (such as selecting a cleaning mode like mopping)
Expected behavior I expect the command to be executed
Additional Information (please complete the following information)
Failed to call service select/select_option. Detected that custom integration 'dreame_vacuum' calls async_write_ha_state from a thread at custom_components/dreame_vacuum/vacuum.py, line 643: self.async_write_ha_state(). Please report it to the author of the 'dreame_vacuum' custom integration.