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
887 stars 110 forks source link

Failed to perform the action vacuum/start (async_write_ha_state) #760

Closed haraldbootz closed 1 month ago

haraldbootz commented 1 month ago

HA 2024.10.1 Integration v2.0.0b13 dreame.vacuum.r2228o (Firmware: 4.3.9_3204)

I can see maps and rooms, time, diagnostiv etc. But as soon as I want to change a value or start cleaning, the message pops up.

"Failed to perform the action vacuum/start that custom integration 'dreame_vacuum' calls async_write_ha_state from a thread other than the evalt Ioop, 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 638: self.async_write_ha_state(). Please report it to the author of the 'dreame_vacuum' custom integration"

Tasshack commented 1 month ago

Install latest version before creating an issue.

haraldbootz commented 1 month ago

thankyou, was pretty sure that I updated to the last version - found out not :) now everything working with v2.0.0b16