From 5c4d7da1c3d6522b04e6aa7879ddc9e8a9083eb6 Mon Sep 17 00:00:00 2001 From: tronikos Date: Mon, 9 Jun 2025 23:29:03 -0700 Subject: [PATCH] Mention how often SQL sensors are updated (#39425) Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_integrations/sql.markdown | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/_integrations/sql.markdown b/source/_integrations/sql.markdown index a5d76797b88..c78af30da56 100644 --- a/source/_integrations/sql.markdown +++ b/source/_integrations/sql.markdown @@ -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 integration’s 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.