mirror of
https://github.com/esphome/esphome.git
synced 2024-12-04 12:38:17 +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.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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue