[CI] Update device class sync script for update entities (#6895)

This commit is contained in:
Jesse Hills 2024-06-12 19:36:57 +12:00 committed by GitHub
parent 67f41a0c72
commit b401b5eca8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,7 @@ 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.update import UpdateDeviceClass
from homeassistant.components.valve import ValveDeviceClass from homeassistant.components.valve import ValveDeviceClass
# pylint: enable=import-error # pylint: enable=import-error
@ -27,6 +28,7 @@ DOMAINS = {
"number": NumberDeviceClass, "number": NumberDeviceClass,
"sensor": SensorDeviceClass, "sensor": SensorDeviceClass,
"switch": SwitchDeviceClass, "switch": SwitchDeviceClass,
"update": UpdateDeviceClass,
"valve": ValveDeviceClass, "valve": ValveDeviceClass,
} }