Skip to content

Commit

Permalink
Stop polling gen2 doorbells. (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
twrecked authored Mar 17, 2024
1 parent 72fd151 commit c6ec8bf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pyaarlo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

_LOGGER = logging.getLogger("pyaarlo")

__version__ = "0.8.0.3"
__version__ = "0.8.0.4"


class PyArlo(object):
Expand Down
8 changes: 6 additions & 2 deletions pyaarlo/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit c6ec8bf

Please sign in to comment.