mirror of
https://github.com/esphome/esphome.git
synced 2024-11-09 16:57:47 +01:00
[CI] Update device class sync script for update entities (#6895)
This commit is contained in:
parent
67f41a0c72
commit
b401b5eca8
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue