diff --git a/octoprint_tasmota/__init__.py b/octoprint_tasmota/__init__.py index 6036fc4..ee3d5a7 100644 --- a/octoprint_tasmota/__init__.py +++ b/octoprint_tasmota/__init__.py @@ -148,7 +148,7 @@ def on_startup(self, host, port): def on_after_startup(self): self._logger.info("Tasmota loaded!") - if self._settings.get_boolean(["polling_enabled"]) and self._settings.get_int(["polling_interval"]) > 0: + if self._settings.get_boolean(["polling_enabled"]) and self._settings.get_float(["polling_interval"]) > 0: self.poll_status = RepeatedTimer(float(self._settings.get_float(["polling_interval"])) * 60, self.check_statuses) self.poll_status.start() diff --git a/setup.py b/setup.py index 96d7d61..9e58992 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ plugin_name = "OctoPrint-Tasmota" # The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module -plugin_version = "1.1.3rc2" +plugin_version = "1.1.3rc3" # The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin # module