moonraker: report Klipper event time with status subscriptions
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
4836f52a5d
commit
81854d1daf
|
@ -469,6 +469,7 @@ class Server:
|
||||||
else:
|
else:
|
||||||
conn_status[name] = {
|
conn_status[name] = {
|
||||||
k: v for k, v in val.items() if k in fields}
|
k: v for k, v in val.items() if k in fields}
|
||||||
|
conn_status['eventtime'] = eventtime
|
||||||
conn.send_status(conn_status)
|
conn.send_status(conn_status)
|
||||||
|
|
||||||
async def make_request(self, web_request: WebRequest) -> Any:
|
async def make_request(self, web_request: WebRequest) -> Any:
|
||||||
|
|
Loading…
Reference in New Issue