Install requirements of after_dependencies when loading integrations (#29491)
* Install requirements of after_dependencies when loading integrations * Fix smartthings test
This commit is contained in:
1 parent
957e5018f4
commit
e99184bf68
19 files changed
+57
-98
No files matched your search
@@ -118,7 +118,7 @@ async def async_unload_entry(hass, entry):
|
||||
|
||||
async def async_remove_entry(hass, entry):
|
||||
"""Remove an OwnTracks config entry."""
|
||||
if not entry.data.get("cloudhook") or "cloud" not in hass.config.components:
|
||||
if not entry.data.get("cloudhook"):
|
||||
return
|
||||
|
||||
await hass.components.cloud.async_delete_cloudhook(entry.data[CONF_WEBHOOK_ID])
|
||||
|
||||
Reference in new issue
Block a user