Add timestamp to startup and shutdown commands
This commit is contained in:
parent
53b1be6f59
commit
9499d6756e
@ -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()
|
||||
}));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user