File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
octoprint_tplinksmartplug Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -452,7 +452,7 @@ async def turn_on_device(self, plug_device) -> Optional[Device]:
452452 await plug_device .update ()
453453 return plug_device
454454 except Exception as e :
455- self ._tplinksmartplug_logger .error (f"Failed to turn on { plugip } : { e } " )
455+ self ._tplinksmartplug_logger .error (f"Failed to turn on { plug_device } : { e } " )
456456 return None
457457
458458 async def turn_off_device (self , plug_device ) -> Optional [Device ]:
@@ -461,7 +461,7 @@ async def turn_off_device(self, plug_device) -> Optional[Device]:
461461 await plug_device .update ()
462462 return plug_device
463463 except Exception as e :
464- self ._tplinksmartplug_logger .error (f"Failed to turn on { plugip } : { e } " )
464+ self ._tplinksmartplug_logger .error (f"Failed to turn on { plug_device } : { e } " )
465465 return None
466466
467467 def turn_on (self , plugip ):
Original file line number Diff line number Diff line change 1414plugin_name = "OctoPrint-TPLinkSmartplug"
1515
1616# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
17- plugin_version = "2.0.0rc2 "
17+ plugin_version = "2.0.0rc3 "
1818
1919# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
2020# module
You can’t perform that action at this time.
0 commit comments