#21 Add PowerOFF when print is finished

This commit is contained in:
David Zingg
2020-02-29 16:39:59 +01:00
parent cc106e258c
commit 83608fa807
3 changed files with 60 additions and 61 deletions

View File

@ -62,8 +62,8 @@ $(function() {
})
}
self.automaticShutdownEnabled.subscribe(self.onAutomaticShutdownEnabledChanged,self);
self.automaticPowerOffEnabled.subscribe(self.onAutomaticPowerOffEnabledChanged,self);
//self.automaticShutdownEnabled.subscribe(self.onAutomaticShutdownEnabledChanged,self);
//self.automaticPowerOffEnabled.subscribe(self.onAutomaticPowerOffEnabledChanged,self);
self.onDataUpdaterPluginMessage = function(plugin, data) {
if (plugin != "mystromswitch" && plugin != "octoprint_mystromswitch") {