Update inputs as well
This commit is contained in:
@@ -637,6 +637,8 @@ class EnclosurePlugin(octoprint.plugin.StartupPlugin, octoprint.plugin.TemplateP
|
||||
if self._settings.get(["debug_temperature_log"]) is True:
|
||||
self._logger.debug("Sensor %s Temperature: %s humidity %s", sensor['label'], temp, hum)
|
||||
if temp is not None and hum is not None:
|
||||
sensor["temp_sensor_temp"] = temp
|
||||
sensor["temp_sensor_humidity"] = hum
|
||||
sensor_data.append(dict(index_id=sensor['index_id'], temperature=temp, humidity=hum))
|
||||
self.temperature_sensor_data = sensor_data
|
||||
self.handle_temp_hum_control()
|
||||
|
||||
2
setup.py
2
setup.py
@@ -14,7 +14,7 @@ plugin_package = "octoprint_enclosure"
|
||||
plugin_name = "OctoPrint-Enclosure"
|
||||
|
||||
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
|
||||
plugin_version = "4.13"
|
||||
plugin_version = "4.13.1"
|
||||
|
||||
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
|
||||
# module
|
||||
|
||||
Reference in New Issue
Block a user