Fix weather entity copy and paste error (#36227)

This commit is contained in:
Tom Brien
2020-05-29 11:51:43 +01:00
committed by GitHub
parent ed014e3c96
commit 26fae7c629

View File

@@ -114,7 +114,7 @@ class WeatherEntity(Entity):
@property @property
def precision(self): def precision(self):
"""Return the forecast.""" """Return the precision of the temperature value."""
return ( return (
PRECISION_TENTHS PRECISION_TENTHS
if self.temperature_unit == TEMP_CELSIUS if self.temperature_unit == TEMP_CELSIUS