Skip to content

Commit

Permalink
Fix typo variable _dp_target
Browse files Browse the repository at this point in the history
  • Loading branch information
xZetsubou committed Oct 25, 2023
1 parent c56b87c commit a4f088e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/localtuya/humidifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a4f088e

Please sign in to comment.