commit
0f4eb3885b
46 changed files with 1155 additions and 52 deletions
|
@ -56,7 +56,7 @@ def async_setup_platform(hass, config, async_add_entities,
|
|||
# Setup your platform inside of the event loop
|
||||
```
|
||||
|
||||
The only difference with the original parameters is that the add_entities function has been replaced by the coroutine `async_add_entities`.
|
||||
The only difference with the original parameters is that the add_entities function has been replaced by the async friendly callback `async_add_entities`.
|
||||
|
||||
## {% linkable_title Implementing an async entity %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue