From 9499d6756ed4b438e7d228be82bb199f6176827e Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Wed, 4 Sep 2024 19:53:44 -0400 Subject: [PATCH] Add timestamp to startup and shutdown commands --- src/assets/HestiaClasses.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/assets/HestiaClasses.js b/src/assets/HestiaClasses.js index 40fd24e..59f6600 100644 --- a/src/assets/HestiaClasses.js +++ b/src/assets/HestiaClasses.js @@ -118,14 +118,16 @@ export class Communicator { // Send startup command startup() { this.send('hestia/command/startup', JSON.stringify({ - "publisher": "front" + "publisher": "front", + "timestamp": Date.now() })); } // Send shutdown command shutdown() { this.send('hestia/command/shutdown', JSON.stringify({ - "publisher": "front" + "publisher": "front", + "timestamp": Date.now() })); } } \ No newline at end of file