mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Reset error state when Ecovacs bot is operational again (#110962)
This commit is contained in:
parent
86ea5c135f
commit
f295382c92
@ -95,7 +95,7 @@ class EcovacsLegacyVacuum(StateVacuumEntity):
|
|||||||
This will not change the entity's state. If the error caused the state
|
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
|
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
|
self.error = None
|
||||||
else:
|
else:
|
||||||
self.error = error
|
self.error = error
|
||||||
|
Loading…
x
Reference in New Issue
Block a user