Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add history to Ring Intercom #340

Merged
merged 5 commits into from Feb 6, 2024

Conversation

cosimomeli
Copy link
Contributor

I discovered that the Intercom has its history available at the same API as the DoorBell, so I moved the history method to the RingGeneric class to share it with other devices and added a history capability where needed.

To keep compatibility the history method will return an empty list if the device has not history capability.

@coveralls
Copy link

coveralls commented Feb 2, 2024

Coverage Status

coverage: 78.939% (+0.4%) from 78.529%
when pulling 7650888 on cosimomeli:intercom-history
into 6c30f8c on tchellomello:master.

@sdb9696 sdb9696 marked this pull request as draft February 5, 2024 11:54
@sdb9696
Copy link
Collaborator

sdb9696 commented Feb 5, 2024

Converting to draft so we can get #342 released and HA switched over.

N.B. #342 does a has_capability("history") = True in stickup cam as well which I think this PR is missing.

@sdb9696
Copy link
Collaborator

sdb9696 commented Feb 6, 2024

The HA PR is in for using has_capability so this can now be merged with master and marked as ready for review.

@cosimomeli cosimomeli marked this pull request as ready for review February 6, 2024 17:46
@sdb9696 sdb9696 merged commit 7d66418 into tchellomello:master Feb 6, 2024
11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants