home-assistant.io/source/_includes/common-tasks/define_custom_polling.md
c0ffeeca7 b87af8f6f8
Add icons for three dots menu and cogwheel (#33557)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-04 10:32:22 +02:00

1.0 KiB

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 {% icon "mdi:dots-vertical" %}.
    • 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.