Adjust set_humidity type hints (#85176)

This commit is contained in:
epenet 2023-01-05 10:26:49 +01:00 committed by GitHub
parent 240b4078cd
commit 3a02c627fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View file

@ -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(