Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Franck Nijhof
eefd5709ba
Revert "Default tuya climate temperature unit to system unit" 2024-01-30 21:25:32 +01:00

View file

@ -156,8 +156,8 @@ class TuyaClimateEntity(TuyaEntity, ClimateEntity):
):
prefered_temperature_unit = UnitOfTemperature.FAHRENHEIT
# Default to System Temperature Unit
self._attr_temperature_unit = self.hass.config.units.temperature_unit
# Default to Celsius
self._attr_temperature_unit = UnitOfTemperature.CELSIUS
# Figure out current temperature, use preferred unit or what is available
celsius_type = self.find_dpcode(