From 04bc8e09a5892cb804aac166f8dcd697f949095b Mon Sep 17 00:00:00 2001 From: DellanX <31318348+DellanX@users.noreply.github.com> Date: Tue, 16 Jan 2024 06:40:11 -0600 Subject: [PATCH] Default tuya climate temperature unit to system unit (#108050) --- homeassistant/components/tuya/climate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/tuya/climate.py b/homeassistant/components/tuya/climate.py index b8c66c5cc35..74399d70991 100644 --- a/homeassistant/components/tuya/climate.py +++ b/homeassistant/components/tuya/climate.py @@ -156,8 +156,8 @@ class TuyaClimateEntity(TuyaEntity, ClimateEntity): ): prefered_temperature_unit = UnitOfTemperature.FAHRENHEIT - # Default to Celsius - self._attr_temperature_unit = UnitOfTemperature.CELSIUS + # Default to System Temperature Unit + self._attr_temperature_unit = self.hass.config.units.temperature_unit # Figure out current temperature, use preferred unit or what is available celsius_type = self.find_dpcode(