mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-10 19:06:30 +00:00
Update config_entries_index.md
This commit is contained in:
parent
9ad66609ca
commit
53b1d1669f
@ -129,6 +129,6 @@ If you need to clean up resources used for an entity, implement the `async_will_
|
|||||||
If a component needs to clean up code when an entry is removed, it can define a removal method:
|
If a component needs to clean up code when an entry is removed, it can define a removal method:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def async_remove_entry(hass, entry) -> None:
|
async def async_remove_entry(hass, entry) -> None:
|
||||||
"""Handle removal of an entry."""
|
"""Handle removal of an entry."""
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user