Skip to content

Commit 4a5797e

Browse files
authored
Add milliPascal (mPa) in Unit of Pressure for number and sensor integrations (#2809)
1 parent 3bbdd2b commit 4a5797e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/core/entity/number.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ If specifying a device class, your number entity will need to also return the co
6969
| `NumberDeviceClass.POWER_FACTOR` | %, None | Power Factor
7070
| `NumberDeviceClass.PRECIPITATION` | cm, in, mm | Accumulated precipitation
7171
| `NumberDeviceClass.PRECIPITATION_INTENSITY` | in/d, in/h, mm/d, mm/h | Precipitation intensity
72-
| `NumberDeviceClass.PRESSURE` | cbar, bar, hPa, mmHg, inHg, kPa, mbar, Pa, psi | Pressure.
72+
| `NumberDeviceClass.PRESSURE` | cbar, bar, hPa, mmHg, inHg, kPa, mbar, Pa, psi, mPa | Pressure.
7373
| `NumberDeviceClass.REACTIVE_ENERGY` | varh, kvarh | Reactive energy
7474
| `NumberDeviceClass.REACTIVE_POWER` | mvar, var, kvar | Reactive power
7575
| `NumberDeviceClass.SIGNAL_STRENGTH` | dB, dBm | Signal strength

docs/core/entity/sensor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ If specifying a device class, your sensor entity will need to also return the co
7272
| `SensorDeviceClass.POWER_FACTOR` | %, None | Power Factor
7373
| `SensorDeviceClass.PRECIPITATION` | cm, in, mm | Accumulated precipitation
7474
| `SensorDeviceClass.PRECIPITATION_INTENSITY` | in/d, in/h, mm/d, mm/h | Precipitation intensity
75-
| `SensorDeviceClass.PRESSURE` | cbar, bar, hPa, mmHg, inHg, kPa, mbar, Pa, psi | Pressure.
75+
| `SensorDeviceClass.PRESSURE` | cbar, bar, hPa, mmHg, inHg, kPa, mbar, Pa, psi, mPa | Pressure.
7676
| `SensorDeviceClass.REACTIVE_ENERGY` | varh, kvarh | Reactive energy
7777
| `SensorDeviceClass.REACTIVE_POWER` | mvar, var, kvar | Reactive power
7878
| `SensorDeviceClass.SIGNAL_STRENGTH` | dB, dBm | Signal strength

0 commit comments

Comments
 (0)