mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Synchronise Device Classes from Home Assistant (#6768)
This commit is contained in:
parent
840f69ffe6
commit
4fc2f2284a
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ from esphome.const import (
|
||||||
CONF_STATE,
|
CONF_STATE,
|
||||||
CONF_STOP,
|
CONF_STOP,
|
||||||
CONF_TRIGGER_ID,
|
CONF_TRIGGER_ID,
|
||||||
|
DEVICE_CLASS_EMPTY,
|
||||||
DEVICE_CLASS_GAS,
|
DEVICE_CLASS_GAS,
|
||||||
DEVICE_CLASS_WATER,
|
DEVICE_CLASS_WATER,
|
||||||
)
|
)
|
||||||
|
@ -25,6 +26,7 @@ IS_PLATFORM_COMPONENT = True
|
||||||
CODEOWNERS = ["@esphome/core"]
|
CODEOWNERS = ["@esphome/core"]
|
||||||
|
|
||||||
DEVICE_CLASSES = [
|
DEVICE_CLASSES = [
|
||||||
|
DEVICE_CLASS_EMPTY,
|
||||||
DEVICE_CLASS_GAS,
|
DEVICE_CLASS_GAS,
|
||||||
DEVICE_CLASS_WATER,
|
DEVICE_CLASS_WATER,
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue