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
1 changed files with 6 additions and 0 deletions

View File

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