Add calories energy units (#34013)

* added calories energy units

* tiny tweak

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
Sergey Dudanov 2024-09-10 16:19:47 +04:00 committed by GitHub
parent 7ffc0b3ff7
commit a3c1146028
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,8 +46,8 @@ The following device classes are supported for sensors:
- **date**: Date string (ISO 8601)
- **distance**: Generic distance in km, m, cm, mm, mi, yd, or in
- **duration**: Duration in d, h, min, or s
- **energy**: Energy in Wh, kWh, MWh, MJ, or GJ
- **energy_storage**: Stored energy in Wh, kWh, MWh, MJ, or GJ
- **energy**: Energy in J, kJ, MJ, GJ, Wh, kWh, MWh, cal, kcal, Mcal, or Gcal
- **energy_storage**: Stored energy in J, kJ, MJ, GJ, Wh, kWh, MWh, cal, kcal, Mcal, or Gcal
- **enum**: Has a limited set of (non-numeric) states
- **frequency**: Frequency in Hz, kHz, MHz, or GHz
- **gas**: Gasvolume in m³, ft³ or CCF