Fix incorrect 2nd param

This commit is contained in:
Paulus Schoutsen
2019-03-09 19:52:50 -08:00
committed by GitHub
parent 5ace55ea8d
commit 14b05b0a91

View File

@@ -110,7 +110,7 @@ async def async_create_cloudhook(hass, webhook_id: str) -> str:
if not async_is_logged_in(hass):
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']