mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix incorrect 2nd param
This commit is contained in:
parent
5ace55ea8d
commit
14b05b0a91
@ -110,7 +110,7 @@ async def async_create_cloudhook(hass, webhook_id: str) -> str:
|
|||||||
if not async_is_logged_in(hass):
|
if not async_is_logged_in(hass):
|
||||||
raise CloudNotAvailable
|
raise CloudNotAvailable
|
||||||
|
|
||||||
hook = await hass.data[DOMAIN].cloudhooks.async_create(webhook_id, True)
|
hook = await hass.data[DOMAIN].cloudhooks.async_create(webhook_id)
|
||||||
return hook['cloudhook_url']
|
return hook['cloudhook_url']
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user