From 52adba8f38c710efdce361f5e189cff75e1c8919 Mon Sep 17 00:00:00 2001 From: alpauna <36033796+alpauna@users.noreply.github.com> Date: Wed, 30 Oct 2024 18:57:54 -0500 Subject: [PATCH] Update __init__.py (#405) --- custom_components/dahua/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/dahua/__init__.py b/custom_components/dahua/__init__.py index 513c51f..03ae4f5 100755 --- a/custom_components/dahua/__init__.py +++ b/custom_components/dahua/__init__.py @@ -537,7 +537,7 @@ def supports_security_light(self) -> bool: Returns true if this camera has the red/blue flashing security light feature. For example, the IPC-HDW3849HP-AS-PV does https://dahuawiki.com/Template:NameConvention """ - return "-AS-PV" in self.model or self.model == "AD410" + return "-AS-PV" in self.model or self.model == "AD410" or self.model.startswith("IP8M") def is_doorbell(self) -> bool: """ Returns true if this is a doorbell (VTO) """