From 4f623a43080616b35c213760a5727d2f61c07db4 Mon Sep 17 00:00:00 2001 From: gsallery Date: Mon, 22 May 2023 18:12:06 +0100 Subject: [PATCH] Fix case-mangling issue --- myconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myconfig.py b/myconfig.py index 4681c95..ebcc594 100644 --- a/myconfig.py +++ b/myconfig.py @@ -117,7 +117,7 @@ def setLocation(self, lat, lng): #---------------------MyConfig::setCode--------------------------------- def setCode(self, shutterId, code): - self.WriteValue(shutterId, str(code), section="ShutterRollingCodes"); + self.WriteValue(shutterId, str(code).upper(), section="ShutterRollingCodes"); self.Shutters[shutterId]['code'] = code