mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 15:57:06 +00:00
Change pressure unit of measurement from mbar to hPa in Netatmo integration (#86210)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
This commit is contained in:
parent
a1ed2a57eb
commit
23c9580a4a
@ -115,7 +115,7 @@ SENSOR_TYPES: tuple[NetatmoSensorEntityDescription, ...] = (
|
|||||||
entity_registry_enabled_default=True,
|
entity_registry_enabled_default=True,
|
||||||
native_unit_of_measurement=UnitOfPressure.MBAR,
|
native_unit_of_measurement=UnitOfPressure.MBAR,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
device_class=SensorDeviceClass.PRESSURE,
|
device_class=SensorDeviceClass.ATMOSPHERIC_PRESSURE,
|
||||||
),
|
),
|
||||||
NetatmoSensorEntityDescription(
|
NetatmoSensorEntityDescription(
|
||||||
key="pressure_trend",
|
key="pressure_trend",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user