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

Added ability to get and set notification flags #949

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

fronzbot
Copy link
Owner

Description:

Adds two new blinkpy functions:

  • blinkpy.get_status() which retrieves all current notification flags and conditions
  • blinkpy.set_status(data) which sets any of the notifications flags depending on the contents of data. For example, `{"low_battery": False, "motion": True} would disabled low battery notifications and enable motion notifications.

Related issue (if applicable): fixes #948

Checklist:

  • Local tests with tox run successfully PR cannot be meged unless tests pass
  • Changes tested locally to ensure platform still works as intended
  • Tests added to verify new code works

@fronzbot fronzbot merged commit 3f17193 into dev Jun 19, 2024
11 checks passed
@fronzbot fronzbot deleted the add-notification-config branch June 19, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable Motion Notification While Maintaining Armed Status
1 participant