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

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,