diff --git a/HCDevice.py b/HCDevice.py index ad572e0..d8835b2 100755 --- a/HCDevice.py +++ b/HCDevice.py @@ -113,7 +113,7 @@ class HCDevice: if uid not in self.features: raise Exception( f"{self.name}. Unable to configure appliance. Program UID {uid} is not valid" - "for this device." + "for this device." ) feature = self.features[uid] @@ -123,7 +123,7 @@ class HCDevice: if ".Program." not in feature["name"]: raise Exception( f"{self.name}. Unable to configure appliance. Program UID {uid} is not a valid" - "program." + "program." ) if "options" in data: @@ -131,7 +131,7 @@ class HCDevice: if str(option_uid) not in self.features: raise Exception( f"{self.name}. Unable to configure appliance. Option UID {uid} is not" - "valid for this device." + "valid for this device." ) # Test the feature of an appliance agains a data object diff --git a/hc2mqtt b/hc2mqtt index a6b3116..6cbad0a 100755 --- a/hc2mqtt +++ b/hc2mqtt @@ -115,7 +115,7 @@ def client_connect(client, device, mqtt_topic): active_program = False for value in device["features"]: - # If the device has the ActiveProgram feature it allows programs to be started and + # If the device has the ActiveProgram feature it allows programs to be started and # scheduled via /ro/activeProgram if "BSH.Common.Root.ActiveProgram" == device["features"][value]["name"]: active_program = True