Skip to content

Commit

Permalink
Update Neato states, actions and alerts based on Neato docs (#17353)
Browse files Browse the repository at this point in the history
* Update neato sstates actions and alerts based on neato docs

* Remove unused STATES
  • Loading branch information
dshokouhi authored and balloob committed Nov 6, 2018
1 parent eb38551 commit 52074ee
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions homeassistant/components/neato.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,22 @@
})
}, extra=vol.ALLOW_EXTRA)

STATES = {
1: 'Idle',
2: 'Busy',
3: 'Pause',
4: 'Error'
}

MODE = {
1: 'Eco',
2: 'Turbo'
}

ACTION = {
0: 'No action',
1: 'House cleaning',
2: 'Spot cleaning',
3: 'Manual cleaning',
0: 'Invalid',
1: 'House Cleaning',
2: 'Spot Cleaning',
3: 'Manual Cleaning',
4: 'Docking',
5: 'User menu active',
6: 'Cleaning cancelled',
7: 'Updating...',
8: 'Copying logs...',
9: 'Calculating position...',
5: 'User Menu Active',
6: 'Suspended Cleaning',
7: 'Updating',
8: 'Copying logs',
9: 'Recovering Location',
10: 'IEC test',
11: 'Map cleaning',
12: 'Exploring map (creating a persistent map)',
Expand Down Expand Up @@ -98,7 +91,8 @@
'dustbin_full': 'Please empty dust bin',
'maint_brush_change': 'Change the brush',
'maint_filter_change': 'Change the filter',
'clean_completed_to_start': 'Cleaning completed'
'clean_completed_to_start': 'Cleaning completed',
'nav_floorplan_not_created': 'No floorplan found'
}


Expand Down

0 comments on commit 52074ee

Please sign in to comment.