mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Fix duplicate code in nexia climate platform (#64220)
This commit is contained in:
@@ -190,7 +190,6 @@ class NexiaZone(NexiaThermostatZoneEntity, ClimateEntity):
|
|||||||
self._attr_max_temp = max_setpoint
|
self._attr_max_temp = max_setpoint
|
||||||
self._attr_temperature_unit = TEMP_CELSIUS if unit == "C" else TEMP_FAHRENHEIT
|
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_target_temperature_step = 0.5 if unit == "C" else 1.0
|
||||||
self._attr_preset_modes = self._zone.get_presets()
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_fan_on(self):
|
def is_fan_on(self):
|
||||||
|
Reference in New Issue
Block a user