From a4f088e7a99eee130b134b729a6827ca571dbd8a Mon Sep 17 00:00:00 2001 From: xZetsubou Date: Wed, 25 Oct 2023 11:46:35 +0300 Subject: [PATCH] Fix typo variable _dp_target --- custom_components/localtuya/humidifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/localtuya/humidifier.py b/custom_components/localtuya/humidifier.py index 52a83288a..b5fb960d7 100644 --- a/custom_components/localtuya/humidifier.py +++ b/custom_components/localtuya/humidifier.py @@ -92,7 +92,7 @@ def mode(self) -> str | None: @property def target_humidity(self) -> int | None: """Return the humidity we try to reach.""" - target_dp = self._config.get(self._dp_target, None) + target_dp = self._config.get(self._dp_target_humidity, None) return self.dps_conf(target_dp) if target_dp else None