mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 12:06:26 +01:00
Add event
, text_sensor
and valve
device classes to sync script (#6624)
This commit is contained in:
parent
5288d5ac95
commit
bcef64a6fa
@ -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,
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user