Bump to google-nest-sdm to 4.0.4 (#117982)

This commit is contained in:
Allen Porter 2024-05-23 11:27:48 -07:00 committed by GitHub
parent ef138eb976
commit 978fe2d7b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 48 additions and 38 deletions

View file

@ -196,7 +196,7 @@ def create_event_message(event_data, timestamp, device_id=None):
"""Create an EventMessage for a single event type."""
if device_id is None:
device_id = DEVICE_ID
return EventMessage(
return EventMessage.create_event(
{
"eventId": f"{EVENT_ID}-{timestamp}",
"timestamp": timestamp.isoformat(timespec="seconds"),