Fix incorrect 2nd param

pull/21921/head
Paulus Schoutsen 2019-03-09 19:52:50 -08:00 committed by GitHub
parent 5ace55ea8d
commit 14b05b0a91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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']