Support multiple trigger instances for a single webhook (#76037)
This commit is contained in:
parent
56050e9fbe
commit
32b1259786
3 changed files with 107 additions and 23 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue