vesync: report current humidity (#136799)

This commit is contained in:
Andrew Onyshchuk 2025-01-29 01:57:49 -08:00 committed by GitHub
parent c312796aae
commit e27a980742
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,6 +129,11 @@ class VeSyncHumidifierHA(VeSyncBaseEntity, HumidifierEntity):
"""Return the available mist modes."""
return self._available_modes
@property
def current_humidity(self) -> int:
"""Return the current humidity."""
return self.device.humidity
@property
def target_humidity(self) -> int:
"""Return the humidity we try to reach."""