From 036fba8caa9b9b12f26a63035fb7ce504d084a7b Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 8 Aug 2023 09:27:48 +0100 Subject: [PATCH] Fix for bad naming on variable --- custom_components/robovac/robovac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/robovac/robovac.py b/custom_components/robovac/robovac.py index 6fbdc86..b5b470d 100644 --- a/custom_components/robovac/robovac.py +++ b/custom_components/robovac/robovac.py @@ -103,7 +103,7 @@ class RoboVac(TuyaDevice): | VacuumEntityFeature.STOP ) - if self.modelCode in HAS_MAP_FEATURE: + if self.model_code in HAS_MAP_FEATURE: supportedFeatures |= VacuumEntityFeature.MAP return supportedFeatures