Support multiple trigger instances for a single webhook (#76037)

This commit is contained in:
Erik Montnemery 2022-08-02 08:54:28 +02:00 committed by GitHub
parent 56050e9fbe
commit 32b1259786
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 107 additions and 23 deletions

View file

@ -840,7 +840,7 @@ async def test_webhook_handle_scan_tag(hass, create_registrations, webhook_clien
@callback
def store_event(event):
"""Helepr to store events."""
"""Help store events."""
events.append(event)
hass.bus.async_listen("tag_scanned", store_event)