Skip to content

Comments

Fix some models stuck on status "cleaning" when docked and fully charged#351

Open
Valiceemo wants to merge 1 commit intodamacus:mainfrom
Valiceemo:main
Open

Fix some models stuck on status "cleaning" when docked and fully charged#351
Valiceemo wants to merge 1 commit intodamacus:mainfrom
Valiceemo:main

Conversation

@Valiceemo
Copy link

@Valiceemo Valiceemo commented Feb 18, 2026

Description

Fixes issue #342
This PR addresses an issue in custom_components/robovac/vacuum.py where the vacuum state was not being correctly reported/updated in Home Assistant.
Some models seem to report status as Completed, note capitalized "C", once charging status reaches 100%
As verified in a debug log:

2026-02-13 14:34:13.004 DEBUG (MainThread) [custom_components.robovac.vacuum] in _update_state_and_error, tuya_state: completed, self._attr_tuya_state: Completed.

Changes

  • Modified vacuum.py to ensure consistent state reporting.

Testing

Added self._attr_tuya_state == "Completed". Note capitalized "C" 

Signed-off-by: Valiceemo <richiewallace83@gmail.com>
@Valiceemo
Copy link
Author

Confirmed on models:
30C
X8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant