You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My OPNsense integration pulls down 385 entities although I currently have 42 enabled and in use. Debug logs report each update taking over 5 seconds. To reduce possible security risks i've also only enabled API privileges for the specific functions I need and use. The logs contain a lot of permissions errors and time spent trying to collect information I don't require.
In Home Assistant, some of the entities are valuable to have updated more frequently for say dashboard status updates or time sensitive automations triggered from changes to said status info. But many don't require this.
Given the size of the integration, I feel it would be beneficial if its configuration offered a toggle list to enable or disable the functional areas that are needed. Additionally, independent refresh intervals would reduce unnecessary updating overhead and allow for more frequent updates where useful.
I'd like to know your thoughts about these enhancements. Many thanks!
Will you be building this?
I intend to submit a PR to implement this
Additional Details
No response
The text was updated successfully, but these errors were encountered:
V4ler1an
changed the title
[FR]: Granular function selection /w update interval setting
[FR]: Granular function selection /w update interval settings
Jan 3, 2025
Yeah, I generally agree that doing something like you describe makes sense. It is doable.
Unsurprisingly, it is a big code overhaul. I feel like I only just finished the recent rewrite so I'm not sure I'm motivated to work on this right now.
Happy to review PRs from anyone who is interested and/or I'll likely get to this at some point.
Describe the new feature or enhancement idea
My OPNsense integration pulls down 385 entities although I currently have 42 enabled and in use. Debug logs report each update taking over 5 seconds. To reduce possible security risks i've also only enabled API privileges for the specific functions I need and use. The logs contain a lot of permissions errors and time spent trying to collect information I don't require.
In Home Assistant, some of the entities are valuable to have updated more frequently for say dashboard status updates or time sensitive automations triggered from changes to said status info. But many don't require this.
Given the size of the integration, I feel it would be beneficial if its configuration offered a toggle list to enable or disable the functional areas that are needed. Additionally, independent refresh intervals would reduce unnecessary updating overhead and allow for more frequent updates where useful.
I'd like to know your thoughts about these enhancements. Many thanks!
Will you be building this?
Additional Details
No response
The text was updated successfully, but these errors were encountered: