Bump to google-nest-sdm to 4.0.4 (#117982)
This commit is contained in:
parent
ef138eb976
commit
978fe2d7b0
13 changed files with 48 additions and 38 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue