Device Classes: Slightly improve the definitions of energy vs power for device classes (#1282)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Daniel O'Connor 2022-04-10 19:16:41 +09:30 committed by GitHub
parent c87f4403de
commit 2f24830db7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ If specifying a device class, your sensor entity will need to also return the co
| carbon_monoxide | ppm | Concentration of carbon monoxide.
| current | A | Current
| date | | Date. Requires `native_value` to be a Python `datetime.date` object, or `None`.
| energy | Wh, kWh, MWh | Energy, statistics will be stored in kWh.
| energy | Wh, kWh, MWh | Energy, statistics will be stored in kWh. Represents _power_ over _time_. Not to be confused with `power`.
| 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.
| humidity | % | Relative humidity