mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Mention how often SQL sensors are updated (#39425)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
5218fe8538
commit
5c4d7da1c3
@ -120,6 +120,17 @@ sql:
|
|||||||
type: template
|
type: template
|
||||||
{% endconfiguration %}
|
{% 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
|
## Information
|
||||||
|
|
||||||
See [supported engines](/integrations/recorder/#custom-database-engines) for which you can connect with this integration.
|
See [supported engines](/integrations/recorder/#custom-database-engines) for which you can connect with this integration.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user