diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ea840e1..7b7a040 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,9 +2,7 @@ - - diff --git a/octoprint_mystromswitch/__init__.py b/octoprint_mystromswitch/__init__.py index 1715efb..8fdf159 100644 --- a/octoprint_mystromswitch/__init__.py +++ b/octoprint_mystromswitch/__init__.py @@ -6,6 +6,7 @@ import requests import ssl import time from octoprint.util import RepeatedTimer +from octoprint.events import eventManager, Events class MyStromSwitchPlugin(octoprint.plugin.SettingsPlugin,