Allow platform unloading (#13784)
* Allow platform unloading * Add tests * Add last test
This commit is contained in:
1 parent
dd7e6edf61
commit
f47572d3c0
12 files changed
+218
-14
No files matched your search
@@ -393,6 +393,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 Profiles:
|
||||
"""Representation of available color profiles."""
|
||||
|
||||
|
||||
Reference in new issue
Block a user