Add frequency device class for sensor (#1137)

Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
epenet 2021-11-15 14:33:56 +01:00 committed by GitHub
parent 87a46921f9
commit 3e75fdba15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@ If specifying a device class, your sensor entity will need to also return the co
| current | A | Current | current | A | Current
| date | | Date, must be formatted according to [ISO8601](https://en.wikipedia.org/wiki/ISO_8601). | date | | Date, must be formatted according to [ISO8601](https://en.wikipedia.org/wiki/ISO_8601).
| energy | Wh, kWh, MWh | Energy, statistics will be stored in kWh. | energy | Wh, kWh, MWh | Energy, statistics will be stored in kWh.
| frequency | Hz, kHz, MHz, GHz | Frequency
| gas | m³, ft³ | Volume of gas, statistics will be stored in m³. Gas consumption measured as energy in kWh instead of a volume should be classified as energy. | gas | m³, ft³ | Volume of gas, statistics will be stored in m³. Gas consumption measured as energy in kWh instead of a volume should be classified as energy.
| humidity | % | Relative humidity | humidity | % | Relative humidity
| illuminance | lx, lm | Light level | illuminance | lx, lm | Light level