Coalesce nest media source preview clips by session and bump google-nest-sdm (#61081)
This commit is contained in:
parent
1bcff0907b
commit
bbe4a67a98
7 changed files with 56 additions and 42 deletions
|
@ -117,7 +117,7 @@ async def test_doorbell_chime_event(hass):
|
|||
"device_id": entry.device_id,
|
||||
"type": "doorbell_chime",
|
||||
"timestamp": event_time,
|
||||
"nest_event_id": EVENT_ID,
|
||||
"nest_event_id": EVENT_SESSION_ID,
|
||||
}
|
||||
|
||||
|
||||
|
@ -145,7 +145,7 @@ async def test_camera_motion_event(hass):
|
|||
"device_id": entry.device_id,
|
||||
"type": "camera_motion",
|
||||
"timestamp": event_time,
|
||||
"nest_event_id": EVENT_ID,
|
||||
"nest_event_id": EVENT_SESSION_ID,
|
||||
}
|
||||
|
||||
|
||||
|
@ -173,7 +173,7 @@ async def test_camera_sound_event(hass):
|
|||
"device_id": entry.device_id,
|
||||
"type": "camera_sound",
|
||||
"timestamp": event_time,
|
||||
"nest_event_id": EVENT_ID,
|
||||
"nest_event_id": EVENT_SESSION_ID,
|
||||
}
|
||||
|
||||
|
||||
|
@ -201,7 +201,7 @@ async def test_camera_person_event(hass):
|
|||
"device_id": entry.device_id,
|
||||
"type": "camera_person",
|
||||
"timestamp": event_time,
|
||||
"nest_event_id": EVENT_ID,
|
||||
"nest_event_id": EVENT_SESSION_ID,
|
||||
}
|
||||
|
||||
|
||||
|
@ -238,13 +238,13 @@ async def test_camera_multiple_event(hass):
|
|||
"device_id": entry.device_id,
|
||||
"type": "camera_motion",
|
||||
"timestamp": event_time,
|
||||
"nest_event_id": EVENT_ID,
|
||||
"nest_event_id": EVENT_SESSION_ID,
|
||||
}
|
||||
assert events[1].data == {
|
||||
"device_id": entry.device_id,
|
||||
"type": "camera_person",
|
||||
"timestamp": event_time,
|
||||
"nest_event_id": EVENT_ID,
|
||||
"nest_event_id": EVENT_SESSION_ID,
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue