From a3d2a1a5e0c4caf6cf30b62eec047b41b8c772de Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 3 Feb 2022 20:31:22 +0100 Subject: [PATCH] Add missing Tuya vacuum states (#65567) --- homeassistant/components/tuya/vacuum.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/homeassistant/components/tuya/vacuum.py b/homeassistant/components/tuya/vacuum.py index 832128a8b3e..70e1691af92 100644 --- a/homeassistant/components/tuya/vacuum.py +++ b/homeassistant/components/tuya/vacuum.py @@ -37,6 +37,7 @@ TUYA_MODE_RETURN_HOME = "chargego" TUYA_STATUS_TO_HA = { "charge_done": STATE_DOCKED, "chargecompleted": STATE_DOCKED, + "chargego": STATE_DOCKED, "charging": STATE_DOCKED, "cleaning": STATE_CLEANING, "docking": STATE_RETURNING, @@ -48,11 +49,14 @@ TUYA_STATUS_TO_HA = { "pick_zone_clean": STATE_CLEANING, "pos_arrived": STATE_CLEANING, "pos_unarrive": STATE_CLEANING, + "random": STATE_CLEANING, "sleep": STATE_IDLE, "smart_clean": STATE_CLEANING, + "smart": STATE_CLEANING, "spot_clean": STATE_CLEANING, "standby": STATE_IDLE, "wall_clean": STATE_CLEANING, + "wall_follow": STATE_CLEANING, "zone_clean": STATE_CLEANING, }