summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/py/homekit/camera/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/py/homekit/camera/types.py b/include/py/homekit/camera/types.py
index 1a97e63..ec4663b 100644
--- a/include/py/homekit/camera/types.py
+++ b/include/py/homekit/camera/types.py
@@ -42,7 +42,7 @@ class CameraType(Enum):
return VideoContainerType.MP4 if self.get_codec(1) == VideoCodecType.H264 else VideoContainerType.MOV
def is_hikvision(self) -> bool:
- return self in (CameraType.HIKVISION_264.value, CameraType.HIKVISION_265)
+ return self in (CameraType.HIKVISION_264, CameraType.HIKVISION_265)
class TimeFilterType(Enum):