Open cloudbr34k84 opened 1 month ago
Hey there @lash-l, mind taking a look at this issue as it has been labeled with an integration (roborock
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
roborock documentation roborock source (message by IssueLinks)
The invalid state error is tracked in https://github.com/home-assistant/core/issues/119733 and https://github.com/humbertogontijo/python-roborock/issues/222 -- we can keep this about the attribute error.
The problem
I encountered multiple errors related to the Roborock integration in Home Assistant. The first issue is an InvalidStateError, which seems to occur when handling RoborockFuture callbacks. The second issue is an AttributeError when processing scheduling times from the cache. These errors appear in the logs without any specific user action triggering them.
Steps to reproduce:
Expected result: The integration should correctly handle the cached data and manage the scheduling time without errors.
Actual result: The integration throws multiple exceptions, including an InvalidStateError when resolving future callbacks and an AttributeError when retrieving start_hour and start_minute from cached data.
What version of Home Assistant Core has the issue?
2024.9.1
What was the last working version of Home Assistant Core?
Unsure
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Roborock
Link to integration documentation on our website
https://www.home-assistant.io/integrations/roborock/
Diagnostics information
config_entry-roborock-e232f3c6d63e9616ff73313be86119ba.json
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response