Hound comments (#4464)
This commit is contained in:
parent
679d500e61
commit
2b320f23fc
1 changed files with 3 additions and 3 deletions
|
@ -110,9 +110,9 @@ class NeatoConnectedSensor(Entity):
|
||||||
self._status_state = 'Stopped'
|
self._status_state = 'Stopped'
|
||||||
elif self._state['state'] == 2:
|
elif self._state['state'] == 2:
|
||||||
if ALERTS.get(self._state['error']) is None:
|
if ALERTS.get(self._state['error']) is None:
|
||||||
self._status_state = (MODE.get(
|
self._status_state = (
|
||||||
self._state['cleaning']['mode']) + ' ' +
|
MODE.get(self._state['cleaning']['mode'])
|
||||||
ACTION.get(self._state['action']))
|
+ ' ' + ACTION.get(self._state['action']))
|
||||||
else:
|
else:
|
||||||
self._status_state = ALERTS.get(self._state['error'])
|
self._status_state = ALERTS.get(self._state['error'])
|
||||||
elif self._state['state'] == 3:
|
elif self._state['state'] == 3:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue