mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 02:37:08 +00:00
Add native precipitation unit for weatherkit (#101073)
This commit is contained in:
parent
97448eff8f
commit
9c0bc57fed
@ -134,6 +134,7 @@ class WeatherKitWeather(
|
|||||||
_attr_native_pressure_unit = UnitOfPressure.MBAR
|
_attr_native_pressure_unit = UnitOfPressure.MBAR
|
||||||
_attr_native_visibility_unit = UnitOfLength.KILOMETERS
|
_attr_native_visibility_unit = UnitOfLength.KILOMETERS
|
||||||
_attr_native_wind_speed_unit = UnitOfSpeed.KILOMETERS_PER_HOUR
|
_attr_native_wind_speed_unit = UnitOfSpeed.KILOMETERS_PER_HOUR
|
||||||
|
_attr_native_precipitation_unit = UnitOfLength.MILLIMETERS
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user