From aa4c65c83a467e2f2e99451156f6254d8638b6f0 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 5 May 2018 10:56:01 -0400 Subject: [PATCH] Clarify update --- docs/entity_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/entity_index.md b/docs/entity_index.md index a5b7ae23..d85f14fb 100644 --- a/docs/entity_index.md +++ b/docs/entity_index.md @@ -42,7 +42,7 @@ An entity represents a device. There are various strategies to keep your entity ### Polling -With polling, Home Assistant will ask the entity from time to time (depending on the update interval of the component) to fetch the latest state. You can either implement your update logic using `update()` or the async method `async_update()`. This method should fetch the latest state from the device and store it in an instance variable for the properties to return it. +With polling, Home Assistant will ask the entity from time to time (depending on the update interval of the component) to fetch the latest state. Home Assistant will poll an entity when the `should_poll` property returns `True` (the default value). You can either implement your update logic using `update()` or the async method `async_update()`. This method should fetch the latest state from the device and store it in an instance variable for the properties to return it. ### Subscribing to updates