Skip to content

Commit efc1ac3

Browse files
authored
Add ppb as a valid uom for sensor/number NO2 device class (#2902)
1 parent c6ac560 commit efc1ac3

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
@@ -56,7 +56,7 @@ If specifying a device class, your number entity will need to also return the co
5656
| `NumberDeviceClass.IRRADIANCE` | W/m², BTU/(h⋅ft²) | Irradiance
5757
| `NumberDeviceClass.MOISTURE` | % | Moisture
5858
| `NumberDeviceClass.MONETARY` | [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) | Monetary value with a currency.
59-
| `NumberDeviceClass.NITROGEN_DIOXIDE` | µg/m³ | Concentration of nitrogen dioxide
59+
| `NumberDeviceClass.NITROGEN_DIOXIDE` | ppb, µg/m³ | Concentration of nitrogen dioxide
6060
| `NumberDeviceClass.NITROGEN_MONOXIDE` | µg/m³ | Concentration of nitrogen monoxide
6161
| `NumberDeviceClass.NITROUS_OXIDE` | µg/m³ | Concentration of nitrous oxide
6262
| `NumberDeviceClass.OZONE` | µg/m³ | Concentration of ozone

docs/core/entity/sensor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ If specifying a device class, your sensor entity will need to also return the co
5959
| `SensorDeviceClass.IRRADIANCE` | W/m², BTU/(h⋅ft²) | Irradiance
6060
| `SensorDeviceClass.MOISTURE` | % | Moisture
6161
| `SensorDeviceClass.MONETARY` | [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) | Monetary value with a currency.
62-
| `SensorDeviceClass.NITROGEN_DIOXIDE` | µg/m³ | Concentration of nitrogen dioxide
62+
| `SensorDeviceClass.NITROGEN_DIOXIDE` | ppb, µg/m³ | Concentration of nitrogen dioxide
6363
| `SensorDeviceClass.NITROGEN_MONOXIDE` | µg/m³ | Concentration of nitrogen monoxide
6464
| `SensorDeviceClass.NITROUS_OXIDE` | µg/m³ | Concentration of nitrous oxide
6565
| `SensorDeviceClass.OZONE` | µg/m³ | Concentration of ozone

0 commit comments

Comments
 (0)