diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 7b41104..0f429ab 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,11 +2,8 @@ - - - - + @@ -564,7 +562,7 @@ - + @@ -609,7 +607,6 @@ - @@ -633,42 +630,44 @@ - - - - - + - - - - - - - - - - - - - + + - - + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/octoprint_mystromswitch/static/js/mystromswitch.js b/octoprint_mystromswitch/static/js/mystromswitch.js index 186f7a3..3f98a87 100644 --- a/octoprint_mystromswitch/static/js/mystromswitch.js +++ b/octoprint_mystromswitch/static/js/mystromswitch.js @@ -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") { diff --git a/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2 b/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2 index 13d22f9..dd68376 100644 --- a/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2 +++ b/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2 @@ -3,12 +3,12 @@