Fix duplicate code in nexia climate platform (#64220)

This commit is contained in:
J. Nick Koston
2022-01-16 15:23:43 -10:00
committed by GitHub
parent c6d481ca01
commit 57ab296d8a

View File

@@ -190,7 +190,6 @@ class NexiaZone(NexiaThermostatZoneEntity, ClimateEntity):
self._attr_max_temp = max_setpoint
self._attr_temperature_unit = TEMP_CELSIUS if unit == "C" else TEMP_FAHRENHEIT
self._attr_target_temperature_step = 0.5 if unit == "C" else 1.0
self._attr_preset_modes = self._zone.get_presets()
@property
def is_fan_on(self):