Reset error state when Ecovacs bot is operational again (#110962)

pull/111035/head
Michael 2024-02-20 17:15:55 +01:00 committed by GitHub
parent 86ea5c135f
commit f295382c92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class EcovacsLegacyVacuum(StateVacuumEntity):
This will not change the entity's state. If the error caused the state
to change, that will come through as a separate on_status event
"""
if error == "no_error":
if error in ["no_error", sucks.ERROR_CODES["100"]]:
self.error = None
else:
self.error = error