mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
Fix creating cloud hook twice for mobile_app (#106945)
This commit is contained in:
parent
be6ceb020e
commit
c90f6f2fea
@ -118,7 +118,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
await create_cloud_hook()
|
await create_cloud_hook()
|
||||||
|
|
||||||
if (
|
if (
|
||||||
CONF_CLOUDHOOK_URL not in registration
|
CONF_CLOUDHOOK_URL not in entry.data
|
||||||
and cloud.async_active_subscription(hass)
|
and cloud.async_active_subscription(hass)
|
||||||
and cloud.async_is_connected(hass)
|
and cloud.async_is_connected(hass)
|
||||||
):
|
):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user