Skip to content

Allow liter for gas sensor device class #38221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/_integrations/number.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The following device classes are supported for numbers:
- **energy_distance**: Energy per distance in kWh/100km, mi/kWh or km/kWh.
- **energy_storage**: Stored energy in J, kJ, MJ, GJ, mWh, Wh, kWh, MWh, GWh, TWh, cal, kcal, Mcal, or Gcal
- **frequency**: Frequency in Hz, kHz, MHz, or GHz
- **gas**: Gasvolume in m³, ft³ or CCF
- **gas**: Gas volume in L, m³, ft³ or CCF
- **humidity**: Percentage of humidity in the air in %
- **illuminance**: The current light level in lx
- **irradiance**: Irradiance in W/m² or BTU/(h⋅ft²)
Expand Down Expand Up @@ -91,7 +91,7 @@ The following device classes are supported for numbers:
- **weight**: Generic mass in kg, g, mg, µg, oz, lb, or st
- **wind_direction**: Wind direction in °
- **wind_speed**: Wind speed in Beaufort, ft/s, km/h, kn, m/s, or mph

## Actions

The Number entities registers the following actions:
Expand Down
2 changes: 1 addition & 1 deletion source/_integrations/sensor.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The following device classes are supported for sensors:
- **energy_storage**: Stored energy in J, kJ, MJ, GJ, mWh, Wh, kWh, MWh, GWh, TWh, cal, kcal, Mcal, or Gcal
- **enum**: Has a limited set of (non-numeric) states
- **frequency**: Frequency in Hz, kHz, MHz, or GHz
- **gas**: Gasvolume in m³, ft³ or CCF
- **gas**: Gas volume in L, m³, ft³ or CCF
- **humidity**: Percentage of humidity in the air in %
- **illuminance**: The current light level in lx
- **irradiance**: Irradiance in W/m² or BTU/(h⋅ft²)
Expand Down