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
905 stars 113 forks source link

Error when try to start cleanup DreameBot L10 PRO #557

Closed Liionboy closed 6 months ago

Liionboy commented 6 months ago

Describe the bug

Failed to call service vacuum/return_to_base. Detected that custom integration 'dreame_vacuum' calls async_write_ha_state from a thread at custom_components/dreame_vacuum/vacuum.py, line 648: self.async_write_ha_state(). Please report it to the author of the 'dreame_vacuum' custom integration.

To Reproduce

Press on start button

Expected behavior

To start cleaning

Additional Information (please complete the following information)

Tasshack commented 6 months ago

https://github.com/Tasshack/dreame-vacuum/issues/548 https://github.com/Tasshack/dreame-vacuum/issues/540