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

[opener] auto turn off "ringActionState" binary sensor #148

Merged

Conversation

alucar-d
Copy link
Contributor

@alucar-d alucar-d commented Mar 29, 2023

Actually, when a ring action happens the binary sensor "ring action" turned on. When polling for updates is enabled in the integration configuration, it calls the /list endpoint of the Nuki Bridge HTTP API so the "ring action" sensor may be turned off with the polling updates.

So what happens if the polling for updates is disabled? Well, once the "ring action" binary sensor turned on it will never turned off.
I delegate the updates for Nuki devices to the webhook so I keep disabled the polling for updates to reduce LAN traffic.

This PR introduced the schedule of a task to turn off the "ring action" binary sensor 5 second after it turn on.

The binary sensor will automatically turn off after 5 seconds from turned on
@tristanXme
Copy link

Works for me. Thank you.

@kvj kvj merged commit f5e61bd into kvj:main Nov 21, 2023
@kvj
Copy link
Owner

kvj commented Nov 21, 2023

I've merged two open PRs, could you please check the latest master and then I can release a new version?

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.

3 participants