Add lock config entry unload support. (#21025)

This commit is contained in:
Andrew Sayre 2019-02-12 22:35:20 -06:00 committed by GitHub
parent 6bbc663d0b
commit d037359bda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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."""