From 2baf8d10d74f2e5cadd334c61d91f1a3e83fb2df Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Thu, 17 Nov 2022 14:01:50 +0100 Subject: [PATCH] Document new number device classes (#24978) --- source/_integrations/number.markdown | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/source/_integrations/number.markdown b/source/_integrations/number.markdown index 718b8624f74..6ff3b075895 100644 --- a/source/_integrations/number.markdown +++ b/source/_integrations/number.markdown @@ -23,7 +23,42 @@ please take a look at the [Number helper](/integrations/input_number). The type of data a number represents impacts how it is displayed in the frontend. This is controlled by the number's device class designation. Built-in numbers and many created from an integration will have this designation predefined. Those can be modified in the [customize section](/docs/configuration/customizing-devices/). When manually creating a new number the device class may be optionally assigned. A full list of available number device classes is below: - **None**: Generic number. This is the default and doesn't need to be set. +- **apparent_power**: Apparent power in VA. +- **aqi**: Air Quality Index +- **battery**: Percentage of battery that is left +- **carbon_dioxide**: Carbon Dioxide in CO2 (Smoke) +- **carbon_monoxide**: Carbon Monoxide in CO (Gas CNG/LPG) +- **current**: Current in A +- **distance**: Generic distance in km, m, cm, mm, mi, yd, or in +- **energy**: Energy in Wh, kWh or MWh +- **frequency**: Frequency in Hz, kHz, MHz or GHz +- **gas**: Gasvolume in m³ or ft³ +- **humidity**: Percentage of humidity in the air +- **illuminance**: The current light level in lx or lm +- **moisture**: Percentage of water in a substance +- **monetary**: The monetary value +- **nitrogen_dioxide**: Concentration of Nitrogen Dioxide in µg/m³ +- **nitrogen_monoxide**: Concentration of Nitrogen Monoxide in µg/m³ +- **nitrous_oxide**: Concentration of Nitrous Oxide in µg/m³ +- **ozone**: Concentration of Ozone in µg/m³ +- **pm1**: Concentration of particulate matter less than 1 micrometer in µg/m³ +- **pm10**: Concentration of particulate matter less than 10 micrometers in µg/m³ +- **pm25**: Concentration of particulate matter less than 2.5 micrometers in µg/m³ +- **power_factor**: Power factor in % +- **power**: Power in W or kW +- **precipitation_intensity**: Precipitation intensity in in/d, in/h, mm/d, or mm/h +- **pressure**: Pressure in Pa, kPa, hPa, bar, cbar, mbar, mmHg, inHg, or psi +- **reactive_power**: Reactive power in var +- **signal_strength**: Signal strength in dB or dBm +- **speed**: Generic speed in ft/s, in/d, in/h, km/h, kn, m/s, mph, or mm/d +- **sulphur_dioxide**: Concentration of sulphur dioxide in µg/m³ - **temperature**: Temperature in °C or °F +- **volatile_organic_compounds**: Concentration of volatile organic compounds in µg/m³ +- **voltage**: Voltage in V +- **volume**: Generic volume in L, mL, gal, fl. oz., m³, or ft³ +- **water**: Water consumption in L, gal, m³, or ft³ +- **weight**: Generic mass in kg, g, mg, µg, oz, or lb +- **wind_speed**: Wind speed in ft/s, km/h, kn, m/s, or mph ## Services