mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 19:06:55 +00:00
Fix Markdown
This commit is contained in:
parent
bbcaf1c8f5
commit
cc44067d07
@ -56,7 +56,7 @@ def async_setup_platform(hass, config, async_add_entities,
|
|||||||
# Setup your platform inside of the event loop
|
# 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 async friendly callback `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 %}
|
## {% linkable_title Implementing an async entity %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user