mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Add lock config entry unload support. (#21025)
This commit is contained in:
parent
6bbc663d0b
commit
d037359bda
@ -85,6 +85,11 @@ async def async_setup_entry(hass, entry):
|
||||
return await hass.data[DOMAIN].async_setup_entry(entry)
|
||||
|
||||
|
||||
async def async_unload_entry(hass, entry):
|
||||
"""Unload a config entry."""
|
||||
return await hass.data[DOMAIN].async_unload_entry(entry)
|
||||
|
||||
|
||||
class LockDevice(Entity):
|
||||
"""Representation of a lock."""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user