From d56087c46f15b9dea99ee5cf61f61a20ca754d9f Mon Sep 17 00:00:00 2001 From: jneilliii Date: Sun, 17 Apr 2022 17:00:16 -0400 Subject: [PATCH] 1.1.2 fix bug preventing addition of new devices with last version, #177 --- octoprint_tasmota/static/js/tasmota.js | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/octoprint_tasmota/static/js/tasmota.js b/octoprint_tasmota/static/js/tasmota.js index 0cbc95b..a334b4b 100644 --- a/octoprint_tasmota/static/js/tasmota.js +++ b/octoprint_tasmota/static/js/tasmota.js @@ -305,6 +305,7 @@ $(function() { 'event_on_upload':ko.observable(false), 'event_on_connecting':ko.observable(false), 'is_led':ko.observable(false), + 'is_sensor_only': ko.observable(false), 'brightness':ko.observable(50)}); self.settings.settings.plugins.tasmota.arrSmartplugs.push(self.selectedPlug()); $("#TasmotaEditor").modal("show"); diff --git a/setup.py b/setup.py index ce71e8d..53de0cb 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.1" +plugin_version = "1.1.2" # The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin # module