Skip to content

Commit

Permalink
Fix temperature step 1 increment #120
Browse files Browse the repository at this point in the history
  • Loading branch information
xZetsubou committed Jan 30, 2024
1 parent 656f6db commit 328825b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/localtuya/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ def target_temperature(self):
@property
def target_temperature_step(self):
"""Return the supported step of target temperature."""
return self._config.get(CONF_TEMPERATURE_STEP, DEFAULT_TEMPERATURE_STEP)
target_step = self._config.get(CONF_TEMPERATURE_STEP, DEFAULT_TEMPERATURE_STEP)
return float(target_step)

@property
def fan_mode(self):
Expand Down

0 comments on commit 328825b

Please sign in to comment.