mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-10 02:46:29 +00:00
Document K as a valid unit for temperature sensor and number (#1650)
This commit is contained in:
parent
5273e7f3eb
commit
5071e5e05f
@ -66,7 +66,7 @@ If specifying a device class, your number entity will need to also return the co
|
||||
| `NumberDeviceClass.SOUND_PRESSURE` | dB, dBA | Sound pressure
|
||||
| `NumberDeviceClass.SPEED` | ft/s, in/d, in/h, km/h, kn, m/s, mph, mm/d | Generic speed
|
||||
| `NumberDeviceClass.SULPHUR_DIOXIDE` | µg/m³ | Concentration of sulphure dioxide |
|
||||
| `NumberDeviceClass.TEMPERATURE` | °C, °F | Temperature.
|
||||
| `NumberDeviceClass.TEMPERATURE` | °C, °F, K | Temperature.
|
||||
| `NumberDeviceClass.VOLATILE_ORGANIC_COMPOUNDS` | µg/m³ | Concentration of volatile organic compounds
|
||||
| `NumberDeviceClass.VOLTAGE` | V, mV | Voltage
|
||||
| `NumberDeviceClass.VOLUME` | L, mL, gal, fl. oz., m³, ft³, CCF | Generic volume
|
||||
|
@ -70,7 +70,7 @@ If specifying a device class, your sensor entity will need to also return the co
|
||||
| `SensorDeviceClass.SOUND_PRESSURE` | dB, dBA | Sound pressure
|
||||
| `SensorDeviceClass.SPEED` | ft/s, in/d, in/h, km/h, kn, m/s, mph, mm/d | Generic speed
|
||||
| `SensorDeviceClass.SULPHUR_DIOXIDE` | µg/m³ | Concentration of sulphure dioxide |
|
||||
| `SensorDeviceClass.TEMPERATURE` | °C, °F | Temperature, statistics will be stored in °C.
|
||||
| `SensorDeviceClass.TEMPERATURE` | °C, °F, K | Temperature, statistics will be stored in °C.
|
||||
| `SensorDeviceClass.TIMESTAMP` | | Timestamp. Requires `native_value` to return a Python `datetime.datetime` object, with time zone information, or `None`.
|
||||
| `SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS` | µg/m³ | Concentration of volatile organic compounds
|
||||
| `SensorDeviceClass.VOLTAGE` | V, mV | Voltage
|
||||
|
Loading…
x
Reference in New Issue
Block a user