Tasshack / dreame-vacuum

Home Assistant integration for Dreame robot vacuums with map support
https://community.home-assistant.io/t/custom-component-dreame-vacuum
MIT License
888 stars 111 forks source link

Problem with integration #679

Closed arjmandmehdi closed 3 months ago

arjmandmehdi commented 3 months ago

Describe the bug None of the actions in home assistant to start the robot works

recieved message: Failed to perform the action vacuum/start. Detected that custom integration 'dreame_vacuum' calls async_write_ha_state from a thread other than the event loop, which may cause Home Assistant to crash or data to corrupt. For more information, see https://developers.home-assistant.io/docs/asyncio_thread_safety/#async_write_ha_state at custom_components/dreame_vacuum/vacuum.py, line 611: self.async_write_ha_state(). Please report it to the author of the 'dreame_vacuum' custom integration.

Tasshack commented 3 months ago

Upgrade integration to the latest.