mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Custom polling: rename service to action (#33778)
This commit is contained in:
parent
3234f35f39
commit
47c337ef12
@ -4,13 +4,14 @@ If you want to define a specific interval at which your device is being polled f
|
||||
|
||||
To add the automation:
|
||||
|
||||
1. Go to {% my integrations title="**Settings** > **Devices & Services**" %}, and select your integration.
|
||||
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.
|
||||

|
||||
3. To define your custom polling interval, create an automation.
|
||||
- Go to {% my automations title="**Settings** > **Automations & Scenes**" %} and create a new 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](/integrations/homeassistant/#service-homeassistantupdate_entity).
|
||||
- Select **Add action**, then, select **Other actions**.
|
||||
- Select **Perform action**, and from the list, select the [`homeassistant.update_entity` action](/integrations/homeassistant/#service-homeassistantupdate_entity).
|
||||

|
||||
4. Save your new automation to poll for data.
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 35 KiB |
Loading…
x
Reference in New Issue
Block a user