Add description of what caused an automation trigger to fire (#39251)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
Phil BrucknerandJ. Nick Koston authored and GitHub committed 2020-08-28 17:02:12 +02:00
1 parent 5217139e0b
commit e6141ae558
18 files changed
+119 -35

No files matched your search

@@ -30,6 +30,7 @@ async def _handle_webhook(action, hass, webhook_id, request):
result["data"] = await request.post()
result["query"] = request.query
result["description"] = "webhook"
hass.async_run_job(action, {"trigger": result})