From d254d4cd46d1b28a91cdcdfe6e4149f527ecca35 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 21:07:19 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- yaqd_pi/__version__.py | 1 - yaqd_pi/_pi_proem.py | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/yaqd_pi/__version__.py b/yaqd_pi/__version__.py index 6a21d7d..1b5e8a6 100644 --- a/yaqd_pi/__version__.py +++ b/yaqd_pi/__version__.py @@ -1,6 +1,5 @@ """Define version.""" - import pathlib import subprocess diff --git a/yaqd_pi/_pi_proem.py b/yaqd_pi/_pi_proem.py index c720825..baa3d9b 100644 --- a/yaqd_pi/_pi_proem.py +++ b/yaqd_pi/_pi_proem.py @@ -258,9 +258,9 @@ def _set_temperature(self): sensor_temp_status = self.proem.params.SensorTemperatureStatus.get_value().name if sensor_temp_status == "Locked": self.logger.info("Sensor temp stabilized.") - self._state[ - "sensor_temperature" - ] = self.proem.params.SensorTemperatureReading.get_value() + self._state["sensor_temperature"] = ( + self.proem.params.SensorTemperatureReading.get_value() + ) else: self._loop.run_in_executor(None, self._check_temp_stabilized())