mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Remove confusing comment from accuweather (#98063)
This commit is contained in:
parent
3624e30380
commit
66e3d69606
@ -68,9 +68,6 @@ class AccuWeatherEntity(
|
|||||||
def __init__(self, coordinator: AccuWeatherDataUpdateCoordinator) -> None:
|
def __init__(self, coordinator: AccuWeatherDataUpdateCoordinator) -> None:
|
||||||
"""Initialize."""
|
"""Initialize."""
|
||||||
super().__init__(coordinator)
|
super().__init__(coordinator)
|
||||||
# Coordinator data is used also for sensors which don't have units automatically
|
|
||||||
# converted, hence the weather entity's native units follow the configured unit
|
|
||||||
# system
|
|
||||||
self._attr_native_precipitation_unit = UnitOfPrecipitationDepth.MILLIMETERS
|
self._attr_native_precipitation_unit = UnitOfPrecipitationDepth.MILLIMETERS
|
||||||
self._attr_native_pressure_unit = UnitOfPressure.HPA
|
self._attr_native_pressure_unit = UnitOfPressure.HPA
|
||||||
self._attr_native_temperature_unit = UnitOfTemperature.CELSIUS
|
self._attr_native_temperature_unit = UnitOfTemperature.CELSIUS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user