Add native precipitation unit for weatherkit (#101073)
This commit is contained in:
parent
42b2a462c1
commit
063bac1665
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue