summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-02-17 13:39:01 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-02-17 13:39:01 +0300
commit77b80dd9b3500539b24b7dc6258c02c23fd4d015 (patch)
treecb9382f937feffc3f18aec894bde2aa3b27a8bc6 /include
parentc5e69cf2c9b89d546ad7a4f6bb26aef47021dd50 (diff)
fix ipcam_ntp_util
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):