Skip to content

Commit bbd69b1

Browse files
authored
Add liter for gas device classes (#2661)
1 parent 3648c76 commit bbd69b1

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
@@ -49,7 +49,7 @@ If specifying a device class, your number entity will need to also return the co
4949
| `NumberDeviceClass.ENERGY_DISTANCE` | kWh/100km, mi/kWh, km/kWh | Energy per distance, this device class should be used to represent energy consumption by distance, for example the amount of electric energy consumed by an electric car.
5050
| `NumberDeviceClass.ENERGY_STORAGE` | J, kJ, MJ, GJ, mWh, Wh, kWh, MWh, GWh, TWh, cal, kcal, Mcal, Gcal | Stored energy, this device class should be used to represent stored energy, for example the amount of electric energy currently stored in a battery or the capacity of a battery. Represents _power_ over _time_. Not to be confused with `power`.
5151
| `NumberDeviceClass.FREQUENCY` | Hz, kHz, MHz, GHz | Frequency
52-
| `NumberDeviceClass.GAS` | m³, ft³, CCF | Volume of gas. Gas consumption measured as energy in kWh instead of a volume should be classified as energy.
52+
| `NumberDeviceClass.GAS` | L, m³, ft³, CCF | Volume of gas. Gas consumption measured as energy in kWh instead of a volume should be classified as energy.
5353
| `NumberDeviceClass.HUMIDITY` | % | Relative humidity
5454
| `NumberDeviceClass.ILLUMINANCE` | lx | Light level
5555
| `NumberDeviceClass.IRRADIANCE` | W/m², BTU/(h⋅ft²) | Irradiance

docs/core/entity/sensor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ If specifying a device class, your sensor entity will need to also return the co
5252
| `SensorDeviceClass.ENERGY_STORAGE` | J, kJ, MJ, GJ, mWh, Wh, kWh, MWh, GWh, TWh, cal, kcal, Mcal, Gcal | Stored energy, this device class should be used for sensors representing stored energy, for example the amount of electric energy currently stored in a battery or the capacity of a battery. Represents _power_ over _time_. Not to be confused with `power`.
5353
| `SensorDeviceClass.ENUM` | | The sensor has a limited set of (non-numeric) states. The `options` property must be set to a list of possible states when using this device class.
5454
| `SensorDeviceClass.FREQUENCY` | Hz, kHz, MHz, GHz | Frequency
55-
| `SensorDeviceClass.GAS` | m³, ft³, CCF | Volume of gas. Gas consumption measured as energy in kWh instead of a volume should be classified as energy.
55+
| `SensorDeviceClass.GAS` | L, m³, ft³, CCF | Volume of gas. Gas consumption measured as energy in kWh instead of a volume should be classified as energy.
5656
| `SensorDeviceClass.HUMIDITY` | % | Relative humidity
5757
| `SensorDeviceClass.ILLUMINANCE` | lx | Light level
5858
| `SensorDeviceClass.IRRADIANCE` | W/m², BTU/(h⋅ft²) | Irradiance

0 commit comments

Comments
 (0)