mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 11:37:27 +01:00
Synchronise Device Classes from Home Assistant (#6768)
This commit is contained in:
parent
94b63d7bc2
commit
1164cb8610
@ -14,6 +14,7 @@ from esphome.const import (
|
||||
CONF_STATE,
|
||||
CONF_STOP,
|
||||
CONF_TRIGGER_ID,
|
||||
DEVICE_CLASS_EMPTY,
|
||||
DEVICE_CLASS_GAS,
|
||||
DEVICE_CLASS_WATER,
|
||||
)
|
||||
@ -25,6 +26,7 @@ IS_PLATFORM_COMPONENT = True
|
||||
CODEOWNERS = ["@esphome/core"]
|
||||
|
||||
DEVICE_CLASSES = [
|
||||
DEVICE_CLASS_EMPTY,
|
||||
DEVICE_CLASS_GAS,
|
||||
DEVICE_CLASS_WATER,
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user