diff --git a/HCDevice.py b/HCDevice.py index 6c40921..c412c9a 100755 --- a/HCDevice.py +++ b/HCDevice.py @@ -98,7 +98,7 @@ class HCDevice: if 'uid' not in data: raise Exception("{self.name}. Unable to configure appliance. UID is required.") - if isinstance(data['uid'], int) == False: + if isinstance(data['uid'], int) is False: raise Exception("{self.name}. Unable to configure appliance. UID must be an integer.") if 'value' not in data: