Add native precipitation unit for weatherkit (#101073)

This commit is contained in:
TJ Horner 2023-09-28 14:24:07 -07:00 committed by GitHub
parent 42b2a462c1
commit 063bac1665
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,6 +134,7 @@ class WeatherKitWeather(
_attr_native_pressure_unit = UnitOfPressure.MBAR
_attr_native_visibility_unit = UnitOfLength.KILOMETERS
_attr_native_wind_speed_unit = UnitOfSpeed.KILOMETERS_PER_HOUR
_attr_native_precipitation_unit = UnitOfLength.MILLIMETERS
def __init__(
self,