Skip to content

Commit

Permalink
1.7.5: fix 1.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ralmn committed Nov 4, 2021
1 parent b7858e9 commit 20c2f55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion octoprint_ikea_tradfri/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ def turnOff(self, device):
self._logger.warn("Don't turn off outlet because printer is cancelling !")
return

if not 'connect_palette2' in device and device['connect_palette2']:
if not ('connect_palette2' in device and device['connect_palette2']):
self._printer.disconnect()

self._logger.debug('stop')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
plugin_name = "OctoPrint Ikea Tradfri"

# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
plugin_version = "1.7.5-dev1"
plugin_version = "1.7.5"


# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
Expand Down

1 comment on commit 20c2f55

@paulgawdan
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HI...I hope this is an appropriate way to contact you, I'm not familiar with github and this was the only way I could find.

firstly, thanks for the tradfri plug in, i like it a lot. I have installed and it was great to have a button to turn the device off and on in my octoprint page. When the print finished it now powers down the printer which was unexpected, but great. 99% time this is exactly what I need. I wondered if there are settings somewhere for actions? Just in case I do a run of printing and don't want it to shut down?

Once again thanks for your amazing work.

Please sign in to comment.