Mention how often SQL sensors are updated (#39425)

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
tronikos 2025-06-09 23:29:03 -07:00 committed by GitHub
parent 5218fe8538
commit 5c4d7da1c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -120,6 +120,17 @@ sql:
type: template
{% endconfiguration %}
## Data updates
By default, the integration executes the SQL query to update the sensor every 30 seconds.
If you wish to update at a different interval, you can disable the automatic refresh in the integrations system options (**Enable polling for updates**) and create your own automation with your desired frequency.
For more detailed steps on how to define a custom interval, follow the procedure below.
### Defining a custom polling interval
{% include common-tasks/define_custom_polling.md %}
## Information
See [supported engines](/integrations/recorder/#custom-database-engines) for which you can connect with this integration.