Add missing Tuya vacuum states (#65567)

pull/65571/head
Franck Nijhof 2022-02-03 20:31:22 +01:00 committed by GitHub
parent cc7680b0c3
commit a3d2a1a5e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,7 @@ TUYA_MODE_RETURN_HOME = "chargego"
TUYA_STATUS_TO_HA = { TUYA_STATUS_TO_HA = {
"charge_done": STATE_DOCKED, "charge_done": STATE_DOCKED,
"chargecompleted": STATE_DOCKED, "chargecompleted": STATE_DOCKED,
"chargego": STATE_DOCKED,
"charging": STATE_DOCKED, "charging": STATE_DOCKED,
"cleaning": STATE_CLEANING, "cleaning": STATE_CLEANING,
"docking": STATE_RETURNING, "docking": STATE_RETURNING,
@ -48,11 +49,14 @@ TUYA_STATUS_TO_HA = {
"pick_zone_clean": STATE_CLEANING, "pick_zone_clean": STATE_CLEANING,
"pos_arrived": STATE_CLEANING, "pos_arrived": STATE_CLEANING,
"pos_unarrive": STATE_CLEANING, "pos_unarrive": STATE_CLEANING,
"random": STATE_CLEANING,
"sleep": STATE_IDLE, "sleep": STATE_IDLE,
"smart_clean": STATE_CLEANING, "smart_clean": STATE_CLEANING,
"smart": STATE_CLEANING,
"spot_clean": STATE_CLEANING, "spot_clean": STATE_CLEANING,
"standby": STATE_IDLE, "standby": STATE_IDLE,
"wall_clean": STATE_CLEANING, "wall_clean": STATE_CLEANING,
"wall_follow": STATE_CLEANING,
"zone_clean": STATE_CLEANING, "zone_clean": STATE_CLEANING,
} }