Fix HAVCMode typing in Intellifire (#94633)

This commit is contained in:
Franck Nijhof 2023-06-15 14:04:38 +02:00 committed by GitHub
parent 64d914d56d
commit 6c4fe9fc3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ class IntellifireClimate(IntellifireEntity, ClimateEntity):
self.last_temp = coordinator.data.thermostat_setpoint_c
@property
def hvac_mode(self) -> str:
def hvac_mode(self) -> HVACMode:
"""Return current hvac mode."""
if self.coordinator.read_api.data.thermostat_on:
return HVACMode.HEAT