Add device class gas
and enable statistics for it (#54110)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com> Co-authored-by: Erik Montnemery <erik@montnemery.com>
This commit is contained in:
parent
94a264afaf
commit
e23750b2a4
16 changed files with 146 additions and 39 deletions
|
@ -247,6 +247,7 @@ DEVICE_CLASS_SIGNAL_STRENGTH: Final = "signal_strength"
|
|||
DEVICE_CLASS_TEMPERATURE: Final = "temperature"
|
||||
DEVICE_CLASS_TIMESTAMP: Final = "timestamp"
|
||||
DEVICE_CLASS_VOLTAGE: Final = "voltage"
|
||||
DEVICE_CLASS_GAS: Final = "gas"
|
||||
|
||||
# #### STATES ####
|
||||
STATE_ON: Final = "on"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue