Skip to content

Commit 4520e57

Browse files
authored
Add mW as unit of measurement of power (#2508)
1 parent bb937d9 commit 4520e57

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
@@ -60,7 +60,7 @@ If specifying a device class, your number entity will need to also return the co
6060
| `NumberDeviceClass.PM1` | µg/m³ | Concentration of particulate matter less than 1 micrometer |
6161
| `NumberDeviceClass.PM25` | µg/m³ | Concentration of particulate matter less than 2.5 micrometers |
6262
| `NumberDeviceClass.PM10` | µg/m³ | Concentration of particulate matter less than 10 micrometers |
63-
| `NumberDeviceClass.POWER` | W, kW, MW, GW, TW | Power.
63+
| `NumberDeviceClass.POWER` | mW, W, kW, MW, GW, TW | Power.
6464
| `NumberDeviceClass.POWER_FACTOR` | %, None | Power Factor
6565
| `NumberDeviceClass.PRECIPITATION` | cm, in, mm | Precipitation
6666
| `NumberDeviceClass.PRECIPITATION_INTENSITY` | in/d, in/h, mm/d, mm/h | Precipitation intensity

docs/core/entity/sensor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ If specifying a device class, your sensor entity will need to also return the co
6464
| `SensorDeviceClass.PM1` | µg/m³ | Concentration of particulate matter less than 1 micrometer
6565
| `SensorDeviceClass.PM25` | µg/m³ | Concentration of particulate matter less than 2.5 micrometers
6666
| `SensorDeviceClass.PM10` | µg/m³ | Concentration of particulate matter less than 10 micrometers
67-
| `SensorDeviceClass.POWER` | W, kW, MW, GW, TW | Power.
67+
| `SensorDeviceClass.POWER` | mW, W, kW, MW, GW, TW | Power.
6868
| `SensorDeviceClass.POWER_FACTOR` | %, None | Power Factor
6969
| `SensorDeviceClass.PRECIPITATION` | cm, in, mm | Accumulated precipitation
7070
| `SensorDeviceClass.PRECIPITATION_INTENSITY` | in/d, in/h, mm/d, mm/h | Precipitation intensity

0 commit comments

Comments
 (0)