Skip to content

Commit

Permalink
Fix temperature unit in evohome (#75842)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Jul 28, 2022
1 parent add9ff5 commit e7ff97b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion homeassistant/components/evohome/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ async def async_setup_platform(
class EvoClimateEntity(EvoDevice, ClimateEntity):
"""Base for an evohome Climate device."""

_attr_temperature_unit = TEMP_CELSIUS

def __init__(self, evo_broker, evo_device) -> None:
"""Initialize a Climate device."""
super().__init__(evo_broker, evo_device)
Expand Down Expand Up @@ -316,7 +318,6 @@ class EvoController(EvoClimateEntity):

_attr_icon = "mdi:thermostat"
_attr_precision = PRECISION_TENTHS
_attr_temperature_unit = TEMP_CELSIUS

def __init__(self, evo_broker, evo_device) -> None:
"""Initialize a Honeywell TCC Controller/Location."""
Expand Down

0 comments on commit e7ff97b

Please sign in to comment.