Don't wait for answer for webhook register (#19025)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2018-12-05 14:45:30 +01:00
1 parent eb317bd302
commit 12f222b5e3
3 files changed
+65 -3

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ class Cloudhooks:
await self.cloud.iot.async_send_message('webhook-register', {
'cloudhook_ids': [info['cloudhook_id'] for info
in cloudhooks.values()]
})
}, expect_answer=False)
async def async_create(self, webhook_id):
"""Create a cloud webhook."""