mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Synchronise Device Classes from Home Assistant (#5136)
This commit is contained in:
parent
1c237aef77
commit
c91b775b73
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,7 @@ from esphome.const import (
|
|||
DEVICE_CLASS_DATA_RATE,
|
||||
DEVICE_CLASS_DATA_SIZE,
|
||||
DEVICE_CLASS_DISTANCE,
|
||||
DEVICE_CLASS_DURATION,
|
||||
DEVICE_CLASS_EMPTY,
|
||||
DEVICE_CLASS_ENERGY,
|
||||
DEVICE_CLASS_ENERGY_STORAGE,
|
||||
|
@ -81,6 +82,7 @@ DEVICE_CLASSES = [
|
|||
DEVICE_CLASS_DATA_RATE,
|
||||
DEVICE_CLASS_DATA_SIZE,
|
||||
DEVICE_CLASS_DISTANCE,
|
||||
DEVICE_CLASS_DURATION,
|
||||
DEVICE_CLASS_EMPTY,
|
||||
DEVICE_CLASS_ENERGY,
|
||||
DEVICE_CLASS_ENERGY_STORAGE,
|
||||
|
|
Loading…
Reference in a new issue