diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 7b7a040..0fc312f 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -47,13 +47,6 @@
1574193087583
-
- 1574284067356
-
-
-
- 1574284067356
-
1574284365024
@@ -390,7 +383,14 @@
1593346830445
-
+
+ 1593346998123
+
+
+
+ 1593346998123
+
+
diff --git a/octoprint_mystromswitch/__init__.py b/octoprint_mystromswitch/__init__.py
index 8fdf159..235bd43 100644
--- a/octoprint_mystromswitch/__init__.py
+++ b/octoprint_mystromswitch/__init__.py
@@ -204,11 +204,9 @@ class MyStromSwitchPlugin(octoprint.plugin.SettingsPlugin,
self._logger.info("disablePowerOffAfterFinish")
self.powerOffAfterPrintFinished = False
self._plugin_manager.send_plugin_message(self._identifier,
- dict(showShutdownOctopiOption=self.shutdownAfterPrintFinished,
- type="timeout", timeout_value=self._timeout_value))
+ dict(showShutdownOctopiOption=self.shutdownAfterPrintFinished))
self._plugin_manager.send_plugin_message(self._identifier,
- dict(showPowerOffPrintFinishOption=self.powerOffAfterPrintFinished,
- type="timeout", timeout_value=self._timeout_value))
+ dict(showPowerOffPrintFinishOption=self.powerOffAfterPrintFinished))
def get_api_commands(self):
return dict(
@@ -279,11 +277,9 @@ class MyStromSwitchPlugin(octoprint.plugin.SettingsPlugin,
if event == Events.CLIENT_OPENED:
self._plugin_manager.send_plugin_message(self._identifier,
- dict(showShutdownOctopiOption=self.shutdownAfterPrintFinished,
- type="timeout", timeout_value=self._timeout_value))
+ dict(showShutdownOctopiOption=self.shutdownAfterPrintFinished))
self._plugin_manager.send_plugin_message(self._identifier,
- dict(showPowerOffPrintFinishOption=self.powerOffAfterPrintFinished,
- type="timeout", timeout_value=self._timeout_value))
+ dict(showPowerOffPrintFinishOption=self.powerOffAfterPrintFinished))
return
if not self.shutdownAfterPrintFinished and not self.powerOffAfterPrintFinished: