Add event, text_sensor and valve device classes to sync script (#6624)

This commit is contained in:
Keith Burzinski 2024-04-25 16:04:48 -05:00 committed by GitHub
parent 5288d5ac95
commit bcef64a6fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,9 +6,12 @@ import re
from homeassistant.components.binary_sensor import BinarySensorDeviceClass from homeassistant.components.binary_sensor import BinarySensorDeviceClass
from homeassistant.components.button import ButtonDeviceClass from homeassistant.components.button import ButtonDeviceClass
from homeassistant.components.cover import CoverDeviceClass from homeassistant.components.cover import CoverDeviceClass
from homeassistant.components.event import EventDeviceClass
from homeassistant.components.number import NumberDeviceClass from homeassistant.components.number import NumberDeviceClass
from homeassistant.components.sensor import SensorDeviceClass from homeassistant.components.sensor import SensorDeviceClass
from homeassistant.components.switch import SwitchDeviceClass from homeassistant.components.switch import SwitchDeviceClass
from homeassistant.components.text_sensor import TextSensorDeviceClass
from homeassistant.components.valve import ValveDeviceClass
# pylint: enable=import-error # pylint: enable=import-error
@ -21,9 +24,12 @@ DOMAINS = {
"binary_sensor": BinarySensorDeviceClass, "binary_sensor": BinarySensorDeviceClass,
"button": ButtonDeviceClass, "button": ButtonDeviceClass,
"cover": CoverDeviceClass, "cover": CoverDeviceClass,
"event": EventDeviceClass,
"number": NumberDeviceClass, "number": NumberDeviceClass,
"sensor": SensorDeviceClass, "sensor": SensorDeviceClass,
"switch": SwitchDeviceClass, "switch": SwitchDeviceClass,
"text_sensor": TextSensorDeviceClass,
"valve": ValveDeviceClass,
} }