mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-04 01:06:50 +00:00

* 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>
1008 B
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:
- Go to {% my integrations title="Settings > Devices & Services" %}, and select your integration.
- On the integration entry, select the three dots.
- 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.
- Save your new automation to poll for data.