Skip to content

Commit

Permalink
Update unit of measurement within integration (#171)
Browse files Browse the repository at this point in the history
Device API operates in Celsius regardless of config otherwise
  • Loading branch information
sandersjds authored Jun 3, 2024
1 parent 79e83dd commit d39c753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/gree/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d39c753

Please sign in to comment.