Add generic speed device_class (#1466)

This commit is contained in:
epenet 2022-09-28 08:27:14 +02:00 committed by GitHub
parent 2250d2ed0b
commit bf2edac078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,7 @@ If specifying a device class, your sensor entity will need to also return the co
| pressure | cbar, bar, hPa, inHg, kPa, mbar, Pa, psi | Pressure, statistics will be stored in Pa.
| reactive_power | var | Reactive power |
| signal_strength | dB, dBm | Signal strength
| speed | ft/s, in/d, in/h, km/h, kn, m/s, mph, mm/d | Generic speed
| sulphur_dioxide | µg/m³ | Concentration of sulphure dioxide |
| temperature | °C, °F | Temperature, statistics will be stored in °C.
| timestamp | | Timestamp. Requires `native_value` to return a Python `datetime.datetime` object, with time zone information, or `None`.