mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-09 02:16:29 +00:00
Add missing words in entity service documentation (#2300)
This commit is contained in:
parent
1183c4f92e
commit
268ef66481
@ -254,7 +254,7 @@ async def async_setup_entry(hass, entry):
|
|||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
If you need more control over the service action call, you can also pass an async function that instead of `"set_sleep_timer"`:
|
If you need more control over the service action call, you can also pass an async function that will be called instead of `"set_sleep_timer"`:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
async def custom_set_sleep_timer(entity, service_call):
|
async def custom_set_sleep_timer(entity, service_call):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user