mirror of
https://github.com/esphome/esphome.git
synced 2024-11-12 10:16:02 +01:00
Synchronise Device Classes from Home Assistant (#6904)
This commit is contained in:
parent
4e8a7986cd
commit
eb50f0eafd
@ -7,6 +7,7 @@ from esphome.const import (
|
|||||||
CONF_ID,
|
CONF_ID,
|
||||||
CONF_MQTT_ID,
|
CONF_MQTT_ID,
|
||||||
CONF_WEB_SERVER_ID,
|
CONF_WEB_SERVER_ID,
|
||||||
|
DEVICE_CLASS_EMPTY,
|
||||||
DEVICE_CLASS_FIRMWARE,
|
DEVICE_CLASS_FIRMWARE,
|
||||||
)
|
)
|
||||||
from esphome.core import CORE, coroutine_with_priority
|
from esphome.core import CORE, coroutine_with_priority
|
||||||
@ -24,6 +25,7 @@ PerformAction = update_ns.class_("PerformAction", automation.Action)
|
|||||||
IsAvailableCondition = update_ns.class_("IsAvailableCondition", automation.Condition)
|
IsAvailableCondition = update_ns.class_("IsAvailableCondition", automation.Condition)
|
||||||
|
|
||||||
DEVICE_CLASSES = [
|
DEVICE_CLASSES = [
|
||||||
|
DEVICE_CLASS_EMPTY,
|
||||||
DEVICE_CLASS_FIRMWARE,
|
DEVICE_CLASS_FIRMWARE,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user