Add generic volume device_class (#1464)

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

View File

@ -62,6 +62,7 @@ If specifying a device class, your sensor entity will need to also return the co
| timestamp | | Timestamp. Requires `native_value` to return a Python `datetime.datetime` object, with time zone information, or `None`. | timestamp | | Timestamp. Requires `native_value` to return a Python `datetime.datetime` object, with time zone information, or `None`.
| volatile_organic_compounds | µg/m³ | Concentration of volatile organic compounds | volatile_organic_compounds | µg/m³ | Concentration of volatile organic compounds
| voltage | V | Voltage | voltage | V | Voltage
| volume | L, mL, gal, fl. oz., m³, ft³ | Generic volume
### Available state classes ### Available state classes