Skip to content

Commit

Permalink
fix: add missing "Wireless Dual-Tech Detector" #14
Browse files Browse the repository at this point in the history
  • Loading branch information
petrleocompel committed Jul 5, 2023
1 parent f16cb5e commit ae5459e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/hikvision_axpro/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ class DetectorType(Enum):
def detector_model_to_name(model_id: Optional[str]) -> str:
if model_id == "0x00001":
return "Passive Infrared Detector"
if model_id == "0x00002":
return "Wireless Dual-Tech Detector"
if model_id == "0x00005":
return "Slim Magnetic Contact"
if model_id == "0x00006":
Expand Down

0 comments on commit ae5459e

Please sign in to comment.