mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-15 13:26:28 +00:00
fix typo in integration_fetching_data.md (#494)
This commit is contained in:
parent
da75806b4c
commit
bd39ded944
@ -127,7 +127,7 @@ class MyEntity(entity.Entity):
|
||||
|
||||
## Separate polling for each individual entity
|
||||
|
||||
Some APIs will offer an endpoint per device. It sometimes won't be possible to map a device from your API to a single entity. If you create multiple entities from a single API device endpoint, please see the preivous section.
|
||||
Some APIs will offer an endpoint per device. It sometimes won't be possible to map a device from your API to a single entity. If you create multiple entities from a single API device endpoint, please see the previous section.
|
||||
|
||||
If you can map exactly one device endpoint to a single entity, you can fetch the data for this entity inside the `update()`/`async_update()` methods. Make sure polling is set to `True` and Home Assistant will call this method regularly.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user