meichthys / uptime_kuma

Uptime Kuma HACS integration
105 stars 24 forks source link

Update interval #66

Closed 1mfaasj closed 7 months ago

1mfaasj commented 1 year ago

Hi is there a possibility to set or control the update interval? if a certain website goes offline, of course, I want to know immediately, the same applies to the response times (attribute) that I would prefer to see updated every 5 or 10 minutes.

meichthys commented 7 months ago

the scan_interval parameter is being deprecated across the board in Homeassistant so i will probably not be implementing this. There is, however, a service in homeassistant that you can use to manually update entities. I've had mixed results with it but the documentation is here: https://www.home-assistant.io/common-tasks/general/#defining-a-custom-polling-interval

There's also an open issue indicating that this functionality may be partially broken with a potential fix coming soon(?): https://github.com/home-assistant/core/issues/107067