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