From a3c11460285e2a2cca48bcbc94db13e31acc5954 Mon Sep 17 00:00:00 2001 From: Sergey Dudanov Date: Tue, 10 Sep 2024 16:19:47 +0400 Subject: [PATCH] Add calories energy units (#34013) * added calories energy units * tiny tweak --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_integrations/sensor.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/sensor.markdown b/source/_integrations/sensor.markdown index 83c1b091acc..ee3f98d9f5f 100644 --- a/source/_integrations/sensor.markdown +++ b/source/_integrations/sensor.markdown @@ -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