From f40ae9b7261baee34e3aa288b16df039725a6325 Mon Sep 17 00:00:00 2001 From: rroller Date: Sat, 2 Nov 2024 13:06:53 -0700 Subject: [PATCH] Revert "Update __init__.py (#405)" This reverts commit 52adba8f38c710efdce361f5e189cff75e1c8919. --- 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 95651cc..fc757df 100755 --- a/custom_components/dahua/__init__.py +++ b/custom_components/dahua/__init__.py @@ -539,7 +539,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" or self.model.startswith("IP8M") + return "-AS-PV" in self.model or self.model == "AD410" def is_doorbell(self) -> bool: """ Returns true if this is a doorbell (VTO) """