From d39c7538e29f537802005c9fb72933a6051d8dc5 Mon Sep 17 00:00:00 2001 From: Josh Sanders Date: Mon, 3 Jun 2024 07:44:46 -0400 Subject: [PATCH] Update unit of measurement within integration (#171) Device API operates in Celsius regardless of config otherwise --- custom_components/gree/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/gree/climate.py b/custom_components/gree/climate.py index 6a9b025..e464684 100644 --- a/custom_components/gree/climate.py +++ b/custom_components/gree/climate.py @@ -157,7 +157,7 @@ def __init__(self, hass, name, ip_addr, port, mac_addr, timeout, target_temp_ste self._target_temperature = None self._target_temperature_step = target_temp_step - self._unit_of_measurement = hass.config.units.temperature_unit + self._unit_of_measurement = '°C' self._current_temperature = None self._temp_sensor_entity_id = temp_sensor_entity_id