diff --git a/src/custom_modules/HestiaClasses.js b/src/custom_modules/HestiaClasses.js index 9e8a576..369baac 100644 --- a/src/custom_modules/HestiaClasses.js +++ b/src/custom_modules/HestiaClasses.js @@ -67,6 +67,14 @@ module.exports = { communicator.send(config.mqtt.topics.vacuum, JSON.stringify(this.vacuum)); } }; + + this.startup = { + topic: config.mqtt.topics.startup + }; + + this.shutdown = { + topic: config.mqtt.topics.shutdown + }; console.log(`State initialized.`) }; },