mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 06:05:10 +02:00
Fix creating cloud hook twice for mobile_app (#106945)
This commit is contained in:
@@ -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)
|
||||||
):
|
):
|
||||||
|
Reference in New Issue
Block a user