mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
Set botvac state when offline (#16805)
This commit is contained in:
committed by
Fabian Affolter
parent
eaee55175b
commit
e90abf1007
@@ -75,6 +75,8 @@ class NeatoConnectedVacuum(StateVacuumDevice):
|
||||
requests.exceptions.HTTPError) as ex:
|
||||
_LOGGER.warning("Neato connection error: %s", ex)
|
||||
self._state = None
|
||||
self._clean_state = STATE_ERROR
|
||||
self._status_state = 'Robot Offline'
|
||||
return
|
||||
_LOGGER.debug('self._state=%s', self._state)
|
||||
if self._state['state'] == 1:
|
||||
|
Reference in New Issue
Block a user