diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 275c59e..bc2b8ac 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,6 @@ - diff --git a/octoprint_mystromswitch/__init__.py b/octoprint_mystromswitch/__init__.py index dbda3d8..412446f 100644 --- a/octoprint_mystromswitch/__init__.py +++ b/octoprint_mystromswitch/__init__.py @@ -193,8 +193,8 @@ class MyStromSwitchPlugin(octoprint.plugin.SettingsPlugin, data["automaticShutdownEnabled"] = self.shutdownAfterPrintFinished data["automaticPowerOffEnabled"] = self.powerOffAfterPrintFinished self._plugin_manager.send_plugin_message(self._identifier, data) - self._logger.info("automaticShutdownEnabled: %s" % self.automaticShutdownEnabled) - self._logger.info("automaticPowerOffEnabled: %s" % self.automaticPowerOffEnabled) + self._logger.info("automaticShutdownEnabled: %s" % self.shutdownAfterPrintFinished) + self._logger.info("automaticPowerOffEnabled: %s" % self.powerOffAfterPrintFinished) return except (requests.exceptions.ConnectionError, ValueError) as e: self._logger.exception(e)