home-assistant.io/source/_includes/common-tasks/define_custom_polling.md
Joost Lekkerkerker f2b0604715
Explain the custom polling (#31265)
* Update define_custom_polling.md

* Update source/_includes/common-tasks/define_custom_polling.md

Co-authored-by: Franck Nijhof <git@frenck.dev>

* Update source/_includes/common-tasks/define_custom_polling.md

Co-authored-by: Franck Nijhof <git@frenck.dev>

* tweaks

* Move intro from reuse topic to common tasks

- the rational does not need to be shown in every integration where the tasks is reused
- slight rephrase of the intro section

* Reduce redundancy

* Tweak

* Rephrase

---------

Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: c0ffeeca7 <k0ffeeka7@gmail.com>
2024-02-08 10:37:42 +01:00

1008 B

If you want to define a specific interval at which your device is being polled for data, you can disable the default polling interval and create your own polling automation.

To add the automation:

  1. Go to {% my integrations title="Settings > Devices & Services" %}, and select your integration.
  2. On the integration entry, select the three dots.
    • Then, select System options and toggle the button to disable polling. Disable polling for updates
  3. To define your custom polling interval, create an automation.
    • Go to {% my automations title="Settings > Automations & Scenes" %} and create a new automation.
    • Define any trigger and condition you like.
    • Under action, select Call service and use the homeassistant.update_entity service. Update entity
  4. Save your new automation to poll for data.