Skip to content

Commit c0f40d5

Browse files
authored
Document new number device classes (#1532)
1 parent 95f396b commit c0f40d5

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

docs/core/entity/number.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,42 @@ If specifying a device class, your number entity will need to also return the co
3131

3232
| Type | Supported units | Description
3333
| ---- | ---- | -----------
34+
| apparent_power | VA | Apparent power |
35+
| aqi | | Air Quality Index
36+
| battery | % | Percentage of battery that is left
37+
| carbon_dioxide | ppm | Concentration of carbon dioxide.
38+
| carbon_monoxide | ppm | Concentration of carbon monoxide.
39+
| current | A | Current
40+
| distance | km, m, cm, mm, mi, yd, in | Generic distance
41+
| energy | Wh, kWh, MWh | Energy. Represents _power_ over _time_. Not to be confused with `power`.
42+
| frequency | Hz, kHz, MHz, GHz | Frequency
43+
| gas | m³, ft³ | Volume of gas. Gas consumption measured as energy in kWh instead of a volume should be classified as energy.
44+
| humidity | % | Relative humidity
45+
| illuminance | lx, lm | Light level
46+
| moisture | % | Moisture
47+
| monetary | [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) | Monetary value with a currency.
48+
| nitrogen_dioxide | µg/m³ | Concentration of nitrogen dioxide |
49+
| nitrogen_monoxide | µg/m³ | Concentration of nitrogen monoxide |
50+
| nitrous_oxide | µg/m³ | Concentration of nitrous oxide |
51+
| ozone | µg/m³ | Concentration of ozone |
52+
| pm1 | µg/m³ | Concentration of particulate matter less than 1 micrometer |
53+
| pm25 | µg/m³ | Concentration of particulate matter less than 2.5 micrometers |
54+
| pm10 | µg/m³ | Concentration of particulate matter less than 10 micrometers |
55+
| power | W, kW | Power.
56+
| power_factor | % | Power Factor
57+
| precipitation_intensity | in/d, in/h, mm/d, mm/h | Precipitation intensity
58+
| pressure | cbar, bar, hPa, inHg, kPa, mbar, Pa, psi | Pressure.
59+
| reactive_power | var | Reactive power |
60+
| signal_strength | dB, dBm | Signal strength
61+
| speed | ft/s, in/d, in/h, km/h, kn, m/s, mph, mm/d | Generic speed
62+
| sulphur_dioxide | µg/m³ | Concentration of sulphure dioxide |
3463
| temperature | °C, °F | Temperature.
64+
| volatile_organic_compounds | µg/m³ | Concentration of volatile organic compounds
65+
| voltage | V | Voltage
66+
| volume | L, mL, gal, fl. oz., m³, ft³ | Generic volume
67+
| water | L, gal, m³, ft³ | Water consumption
68+
| weight | kg, g, mg, µg, oz, lb | Generic mass; `weight` is used instead of `mass` to fit with every day language.
69+
| wind_speed | ft/s, km/h, kn, m/s, mph | Wind speed
3570

3671
## Restoring number states
3772

0 commit comments

Comments
 (0)