mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +00:00
Hound comments (#4464)
This commit is contained in:
parent
679d500e61
commit
2b320f23fc
@ -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…
x
Reference in New Issue
Block a user