Synchronise Device Classes from Home Assistant (#6768)

This commit is contained in:
esphomebot 2024-05-18 19:15:52 +12:00 committed by Jesse Hills
parent 840f69ffe6
commit 4fc2f2284a
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

View file

@ -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,
]