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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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