mirror of
https://github.com/esphome/esphome.git
synced 2024-12-24 16:58:07 +01:00
[CI] Update device class sync script for update entities (#6895)
This commit is contained in:
parent
67f41a0c72
commit
b401b5eca8
@ -10,6 +10,7 @@ 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.update import UpdateDeviceClass
|
||||
from homeassistant.components.valve import ValveDeviceClass
|
||||
|
||||
# pylint: enable=import-error
|
||||
@ -27,6 +28,7 @@ DOMAINS = {
|
||||
"number": NumberDeviceClass,
|
||||
"sensor": SensorDeviceClass,
|
||||
"switch": SwitchDeviceClass,
|
||||
"update": UpdateDeviceClass,
|
||||
"valve": ValveDeviceClass,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user