forked from home-assistant/core
Handle serverTime change (#53490)
This commit is contained in:
@@ -324,7 +324,7 @@ class TraccarScanner:
|
|||||||
"device_traccar_id": event["deviceId"],
|
"device_traccar_id": event["deviceId"],
|
||||||
"device_name": device_name,
|
"device_name": device_name,
|
||||||
"type": event["type"],
|
"type": event["type"],
|
||||||
"serverTime": event["serverTime"],
|
"serverTime": event.get("eventTime") or event.get("serverTime"),
|
||||||
"attributes": event["attributes"],
|
"attributes": event["attributes"],
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user