diff --git a/homeassistant/components/nuheat/climate.py b/homeassistant/components/nuheat/climate.py index d0ea35c2e8bb..e666e4be0cd0 100644 --- a/homeassistant/components/nuheat/climate.py +++ b/homeassistant/components/nuheat/climate.py @@ -99,7 +99,7 @@ class NuHeatThermostat(CoordinatorEntity[NuHeatCoordinator], ClimateEntity): return UnitOfTemperature.FAHRENHEIT @property - def current_temperature(self): + def current_temperature(self) -> int | None: """Return the current temperature.""" if self._temperature_unit == "C": return self._thermostat.celsius @@ -147,7 +147,7 @@ class NuHeatThermostat(CoordinatorEntity[NuHeatCoordinator], ClimateEntity): return self._thermostat.max_fahrenheit @property - def target_temperature(self): + def target_temperature(self) -> int: """Return the currently programmed temperature.""" if self._temperature_unit == "C": return nuheat_to_celsius(self._target_temperature)