Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for Neato integration."""
2
3
NEATO_DOMAIN =
"neato"
4
5
CONF_VENDOR =
"vendor"
6
NEATO_LOGIN =
"neato_login"
7
NEATO_MAP_DATA =
"neato_map_data"
8
NEATO_PERSISTENT_MAPS =
"neato_persistent_maps"
9
NEATO_ROBOTS =
"neato_robots"
10
11
SCAN_INTERVAL_MINUTES = 1
12
13
MODE = {1:
"Eco"
, 2:
"Turbo"
}
14
15
ACTION = {
16
0:
"Invalid"
,
17
1:
"House Cleaning"
,
18
2:
"Spot Cleaning"
,
19
3:
"Manual Cleaning"
,
20
4:
"Docking"
,
21
5:
"User Menu Active"
,
22
6:
"Suspended Cleaning"
,
23
7:
"Updating"
,
24
8:
"Copying logs"
,
25
9:
"Recovering Location"
,
26
10:
"IEC test"
,
27
11:
"Map cleaning"
,
28
12:
"Exploring map (creating a persistent map)"
,
29
13:
"Acquiring Persistent Map IDs"
,
30
14:
"Creating & Uploading Map"
,
31
15:
"Suspended Exploration"
,
32
}
33
34
ERRORS = {
35
"ui_error_battery_battundervoltlithiumsafety"
:
"Replace battery"
,
36
"ui_error_battery_critical"
:
"Replace battery"
,
37
"ui_error_battery_invalidsensor"
:
"Replace battery"
,
38
"ui_error_battery_lithiumadapterfailure"
:
"Replace battery"
,
39
"ui_error_battery_mismatch"
:
"Replace battery"
,
40
"ui_error_battery_nothermistor"
:
"Replace battery"
,
41
"ui_error_battery_overtemp"
:
"Replace battery"
,
42
"ui_error_battery_overvolt"
:
"Replace battery"
,
43
"ui_error_battery_undercurrent"
:
"Replace battery"
,
44
"ui_error_battery_undertemp"
:
"Replace battery"
,
45
"ui_error_battery_undervolt"
:
"Replace battery"
,
46
"ui_error_battery_unplugged"
:
"Replace battery"
,
47
"ui_error_brush_stuck"
:
"Brush stuck"
,
48
"ui_error_brush_overloaded"
:
"Brush overloaded"
,
49
"ui_error_bumper_stuck"
:
"Bumper stuck"
,
50
"ui_error_check_battery_switch"
:
"Check battery"
,
51
"ui_error_corrupt_scb"
:
"Call customer service corrupt board"
,
52
"ui_error_deck_debris"
:
"Deck debris"
,
53
"ui_error_dflt_app"
:
"Check Neato app"
,
54
"ui_error_disconnect_chrg_cable"
:
"Disconnected charge cable"
,
55
"ui_error_disconnect_usb_cable"
:
"Disconnected USB cable"
,
56
"ui_error_dust_bin_missing"
:
"Dust bin missing"
,
57
"ui_error_dust_bin_full"
:
"Dust bin full"
,
58
"ui_error_dust_bin_emptied"
:
"Dust bin emptied"
,
59
"ui_error_hardware_failure"
:
"Hardware failure"
,
60
"ui_error_ldrop_stuck"
:
"Clear my path"
,
61
"ui_error_lds_jammed"
:
"Clear my path"
,
62
"ui_error_lds_bad_packets"
:
"Check Neato app"
,
63
"ui_error_lds_disconnected"
:
"Check Neato app"
,
64
"ui_error_lds_missed_packets"
:
"Check Neato app"
,
65
"ui_error_lwheel_stuck"
:
"Clear my path"
,
66
"ui_error_navigation_backdrop_frontbump"
:
"Clear my path"
,
67
"ui_error_navigation_backdrop_leftbump"
:
"Clear my path"
,
68
"ui_error_navigation_backdrop_wheelextended"
:
"Clear my path"
,
69
"ui_error_navigation_noprogress"
:
"Clear my path"
,
70
"ui_error_navigation_origin_unclean"
:
"Clear my path"
,
71
"ui_error_navigation_pathproblems"
:
"Cannot return to base"
,
72
"ui_error_navigation_pinkycommsfail"
:
"Clear my path"
,
73
"ui_error_navigation_falling"
:
"Clear my path"
,
74
"ui_error_navigation_noexitstogo"
:
"Clear my path"
,
75
"ui_error_navigation_nomotioncommands"
:
"Clear my path"
,
76
"ui_error_navigation_rightdrop_leftbump"
:
"Clear my path"
,
77
"ui_error_navigation_undockingfailed"
:
"Clear my path"
,
78
"ui_error_picked_up"
:
"Picked up"
,
79
"ui_error_qa_fail"
:
"Check Neato app"
,
80
"ui_error_rdrop_stuck"
:
"Clear my path"
,
81
"ui_error_reconnect_failed"
:
"Reconnect failed"
,
82
"ui_error_rwheel_stuck"
:
"Clear my path"
,
83
"ui_error_stuck"
:
"Stuck!"
,
84
"ui_error_unable_to_return_to_base"
:
"Unable to return to base"
,
85
"ui_error_unable_to_see"
:
"Clean vacuum sensors"
,
86
"ui_error_vacuum_slip"
:
"Clear my path"
,
87
"ui_error_vacuum_stuck"
:
"Clear my path"
,
88
"ui_error_warning"
:
"Error check app"
,
89
"batt_base_connect_fail"
:
"Battery failed to connect to base"
,
90
"batt_base_no_power"
:
"Battery base has no power"
,
91
"batt_low"
:
"Battery low"
,
92
"batt_on_base"
:
"Battery on base"
,
93
"clean_tilt_on_start"
:
"Clean the tilt on start"
,
94
"dustbin_full"
:
"Dust bin full"
,
95
"dustbin_missing"
:
"Dust bin missing"
,
96
"gen_picked_up"
:
"Picked up"
,
97
"hw_fail"
:
"Hardware failure"
,
98
"hw_tof_sensor_sensor"
:
"Hardware sensor disconnected"
,
99
"lds_bad_packets"
:
"Bad packets"
,
100
"lds_deck_debris"
:
"Debris on deck"
,
101
"lds_disconnected"
:
"Disconnected"
,
102
"lds_jammed"
:
"Jammed"
,
103
"lds_missed_packets"
:
"Missed packets"
,
104
"maint_brush_stuck"
:
"Brush stuck"
,
105
"maint_brush_overload"
:
"Brush overloaded"
,
106
"maint_bumper_stuck"
:
"Bumper stuck"
,
107
"maint_customer_support_qa"
:
"Contact customer support"
,
108
"maint_vacuum_stuck"
:
"Vacuum is stuck"
,
109
"maint_vacuum_slip"
:
"Vacuum is stuck"
,
110
"maint_left_drop_stuck"
:
"Vacuum is stuck"
,
111
"maint_left_wheel_stuck"
:
"Vacuum is stuck"
,
112
"maint_right_drop_stuck"
:
"Vacuum is stuck"
,
113
"maint_right_wheel_stuck"
:
"Vacuum is stuck"
,
114
"not_on_charge_base"
:
"Not on the charge base"
,
115
"nav_robot_falling"
:
"Clear my path"
,
116
"nav_no_path"
:
"Clear my path"
,
117
"nav_path_problem"
:
"Clear my path"
,
118
"nav_backdrop_frontbump"
:
"Clear my path"
,
119
"nav_backdrop_leftbump"
:
"Clear my path"
,
120
"nav_backdrop_wheelextended"
:
"Clear my path"
,
121
"nav_floorplan_zone_path_blocked"
:
"Clear my path"
,
122
"nav_mag_sensor"
:
"Clear my path"
,
123
"nav_no_exit"
:
"Clear my path"
,
124
"nav_no_movement"
:
"Clear my path"
,
125
"nav_rightdrop_leftbump"
:
"Clear my path"
,
126
"nav_undocking_failed"
:
"Clear my path"
,
127
}
128
129
ALERTS = {
130
"ui_alert_dust_bin_full"
:
"Please empty dust bin"
,
131
"ui_alert_recovering_location"
:
"Returning to start"
,
132
"ui_alert_battery_chargebasecommerr"
:
"Battery error"
,
133
"ui_alert_busy_charging"
:
"Busy charging"
,
134
"ui_alert_charging_base"
:
"Base charging"
,
135
"ui_alert_charging_power"
:
"Charging power"
,
136
"ui_alert_connect_chrg_cable"
:
"Connect charge cable"
,
137
"ui_alert_info_thank_you"
:
"Thank you"
,
138
"ui_alert_invalid"
:
"Invalid check app"
,
139
"ui_alert_old_error"
:
"Old error"
,
140
"ui_alert_swupdate_fail"
:
"Update failed"
,
141
"dustbin_full"
:
"Please empty dust bin"
,
142
"maint_brush_change"
:
"Change the brush"
,
143
"maint_filter_change"
:
"Change the filter"
,
144
"clean_completed_to_start"
:
"Cleaning completed"
,
145
"nav_floorplan_not_created"
:
"No floorplan found"
,
146
"nav_floorplan_load_fail"
:
"Failed to load floorplan"
,
147
"nav_floorplan_localization_fail"
:
"Failed to load floorplan"
,
148
"clean_incomplete_to_start"
:
"Cleaning incomplete"
,
149
"log_upload_failed"
:
"Logs failed to upload"
,
150
}
core
homeassistant
components
neato
const.py
Generated by
1.9.1