mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 04:12:23 +01:00
Merge branch 'dev' into nrf52
This commit is contained in:
@@ -624,6 +624,7 @@ def lint_trailing_whitespace(fname, match):
|
||||
"esphome/components/cover/cover.h",
|
||||
"esphome/components/datetime/date_entity.h",
|
||||
"esphome/components/datetime/time_entity.h",
|
||||
"esphome/components/datetime/datetime_entity.h",
|
||||
"esphome/components/display/display.h",
|
||||
"esphome/components/event/event.h",
|
||||
"esphome/components/fan/fan.h",
|
||||
|
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user