From 08e72472010e1a5c8d49a6714b3a714efaca2c73 Mon Sep 17 00:00:00 2001 From: ollo69 <60491700+ollo69@users.noreply.github.com> Date: Tue, 26 Jan 2021 22:49:42 +0100 Subject: [PATCH] Remove tuya/climate precision property override (#44148) --- homeassistant/components/tuya/climate.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/homeassistant/components/tuya/climate.py b/homeassistant/components/tuya/climate.py index 6da15b0d29e..da851d4a776 100644 --- a/homeassistant/components/tuya/climate.py +++ b/homeassistant/components/tuya/climate.py @@ -23,8 +23,6 @@ from homeassistant.const import ( ATTR_TEMPERATURE, CONF_PLATFORM, CONF_UNIT_OF_MEASUREMENT, - PRECISION_TENTHS, - PRECISION_WHOLE, TEMP_CELSIUS, TEMP_FAHRENHEIT, ) @@ -154,13 +152,6 @@ class TuyaClimateEntity(TuyaDevice, ClimateEntity): self.operations.append(ha_mode) self._has_operation = True - @property - def precision(self): - """Return the precision of the system.""" - if self._tuya.has_decimal(): - return PRECISION_TENTHS - return PRECISION_WHOLE - @property def temperature_unit(self): """Return the unit of measurement used by the platform."""