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

Q: Is it possible to refresh the values #60

Closed
nsleigh opened this issue Mar 19, 2025 · 3 comments
Closed

Q: Is it possible to refresh the values #60

nsleigh opened this issue Mar 19, 2025 · 3 comments

Comments

@nsleigh
Copy link

nsleigh commented Mar 19, 2025

The update interval for the values seems to be about 6 minutes, is there any way to refresh the values sooner? When I temporarily disable pi-hole, for say 30s, it would be nice to refresh and see that it has been re-enabled.

@bastgau
Copy link
Owner

bastgau commented Mar 19, 2025

Hey @nsleigh

Not planned to change the default value (300s).

You can modify the frequency creating an automatisation.

In the future the value will be configurable in the settings.

Best.

@bastgau bastgau added the enhancement New feature or request label Mar 19, 2025
@bastgau
Copy link
Owner

bastgau commented Mar 19, 2025

Here an explanation : https://github.com/bastgau/ha-pi-hole-v6/blob/main/docs/guide-configuring-refresh.md

Don't hesitate to give me your feedback.

@bastgau bastgau added Frequently Asked Questions and removed enhancement New feature or request labels Mar 19, 2025
@nsleigh
Copy link
Author

nsleigh commented Mar 20, 2025

Thank you - that is perfect. I was unaware of the homeassistant.update_entity, in my scenario just need to script the disable and then a few refreshes until it is enabled again.

@nsleigh nsleigh closed this as completed Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants