Fix HAVCMode typing in Rheem EcoNet (#94637)

This commit is contained in:
Franck Nijhof 2023-06-15 14:13:59 +02:00 committed by GitHub
parent 998a45879e
commit 204833b745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,7 @@ class EcoNetThermostat(EcoNetEntity, ClimateEntity):
return self.op_list return self.op_list
@property @property
def hvac_mode(self) -> str: def hvac_mode(self) -> HVACMode:
"""Return hvac operation ie. heat, cool, mode. """Return hvac operation ie. heat, cool, mode.
Needs to be one of HVAC_MODE_*. Needs to be one of HVAC_MODE_*.