From c6ec8bf20a98f63b04646cf1d7a591ab76a347d4 Mon Sep 17 00:00:00 2001 From: Steve Herrell <47094394+twrecked@users.noreply.github.com> Date: Sun, 17 Mar 2024 10:11:05 -0400 Subject: [PATCH] Stop polling gen2 doorbells. (#147) --- changelog | 2 ++ pyaarlo/__init__.py | 2 +- pyaarlo/base.py | 8 ++++++-- setup.py | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/changelog b/changelog index 97f0f14..17cbe1c 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,5 @@ +0.8.0.4 + Tweaked Gen2 doorbell support. 0.8.0.3 Add Arlo Essential XL support (thank @mzsanford) Add Gen2 doorbell support. diff --git a/pyaarlo/__init__.py b/pyaarlo/__init__.py index a009909..9e35c8e 100644 --- a/pyaarlo/__init__.py +++ b/pyaarlo/__init__.py @@ -50,7 +50,7 @@ _LOGGER = logging.getLogger("pyaarlo") -__version__ = "0.8.0.3" +__version__ = "0.8.0.4" class PyArlo(object): diff --git a/pyaarlo/base.py b/pyaarlo/base.py index 17fb36f..f47fdcc 100644 --- a/pyaarlo/base.py +++ b/pyaarlo/base.py @@ -25,6 +25,8 @@ MODEL_PRO_4, MODEL_PRO_5, MODEL_WIRED_VIDEO_DOORBELL, + MODEL_WIRED_VIDEO_DOORBELL2_HD, + MODEL_WIRED_VIDEO_DOORBELL2_2K, MODEL_ESSENTIAL_VIDEO_DOORBELL, PING_CAPABILITY, RESOURCE_CAPABILITY, @@ -564,11 +566,13 @@ def has_capability(self, cap): # Don't ping these devices ever. if self.model_id.startswith(( - MODEL_ESSENTIAL_VIDEO_DOORBELL, MODEL_ESSENTIAL, + MODEL_ESSENTIAL_VIDEO_DOORBELL, MODEL_PRO_3_FLOODLIGHT, MODEL_PRO_4, - MODEL_PRO_5 + MODEL_PRO_5, + MODEL_WIRED_VIDEO_DOORBELL2_2K, + MODEL_WIRED_VIDEO_DOORBELL2_HD, )): return False diff --git a/setup.py b/setup.py index 2d12267..ed49743 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ def readme(): setup( name='pyaarlo', - version='0.8.0.3', + version='0.8.0.4', packages=['pyaarlo'], python_requires='>=3.7',