From a554e106de2c9ec785b9ac2e6514ca47e8f509f1 Mon Sep 17 00:00:00 2001 From: Ben Vezzani Date: Tue, 30 Apr 2024 10:02:29 -0400 Subject: [PATCH] Fixes the vis nav power state enum set --- custom_components/dyson_local/vacuum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/dyson_local/vacuum.py b/custom_components/dyson_local/vacuum.py index 2ede64c..879f65c 100644 --- a/custom_components/dyson_local/vacuum.py +++ b/custom_components/dyson_local/vacuum.py @@ -131,7 +131,7 @@ VacuumVisNavPowerMode.BOOST: "Boost", } VIS_NAV_POWER_MODE_STR_TO_ENUM = { - value: key for key, value in HEURIST_POWER_MODE_ENUM_TO_STR.items() + value: key for key, value in VIS_NAV_POWER_MODE_ENUM_TO_STR.items() } ATTR_POSITION = "position"