Adjust set_humidity type hints (#85176)
This commit is contained in:
parent
240b4078cd
commit
3a02c627fa
5 changed files with 6 additions and 6 deletions
|
@ -296,7 +296,7 @@ class TuyaClimateEntity(TuyaEntity, ClimateEntity):
|
|||
"""Set new target fan mode."""
|
||||
self._send_command([{"code": DPCode.FAN_SPEED_ENUM, "value": fan_mode}])
|
||||
|
||||
def set_humidity(self, humidity: float) -> None:
|
||||
def set_humidity(self, humidity: int) -> None:
|
||||
"""Set new target humidity."""
|
||||
if self._set_humidity is None:
|
||||
raise RuntimeError(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue