Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Neato states, actions and alerts based on Neato docs #17353

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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