diff --git a/.idea/misc.xml b/.idea/misc.xml index d3b7f65..cf3bce4 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 3a46de4..7b41104 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,8 +2,12 @@ + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + onOffBu + onOffButtonEnabled + onmystromswitchEvent + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Show option to automatic shutdown Octoprint after Print is finished + + {{ _('This setting shows the option to shut Octoprint down and switch your mySwitch off after your Print is finished.') }} + + + +
+
+ + {{ _('This setting shows the option to switch your mySwitch off after your Print is finished') }} +
+
+ +
+ +
+
+ + seconds +
+ {{ _('Delay in seconds after after print is finished') }} +
+
+ diff --git a/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2 b/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2 index 8fa3af7..13d22f9 100644 --- a/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2 +++ b/octoprint_mystromswitch/templates/mystromswitch_sidebar.jinja2 @@ -2,4 +2,13 @@ + + +