mirror of
https://github.com/esphome/esphome.git
synced 2024-12-02 11:44:13 +01:00
Fix: script/ci-custom
This commit is contained in:
parent
e675f3550b
commit
56ccbc67e4
5 changed files with 5 additions and 5 deletions
|
@ -17,7 +17,7 @@ MR60BHA2Component = mr60fda2_ns.class_(
|
||||||
"MR60BHA2Component", cg.Component, uart.UARTDevice
|
"MR60BHA2Component", cg.Component, uart.UARTDevice
|
||||||
)
|
)
|
||||||
|
|
||||||
CONF_MR60BHA2_ID = "mr60fda2_id"
|
CONF_MR60BHA2_ID = "mr60bha2_id"
|
||||||
|
|
||||||
CONFIG_SCHEMA = (
|
CONFIG_SCHEMA = (
|
||||||
cv.Schema(
|
cv.Schema(
|
||||||
|
|
|
@ -4,6 +4,7 @@ import esphome.config_validation as cv
|
||||||
from esphome.const import (
|
from esphome.const import (
|
||||||
DEVICE_CLASS_DISTANCE,
|
DEVICE_CLASS_DISTANCE,
|
||||||
UNIT_CENTIMETER,
|
UNIT_CENTIMETER,
|
||||||
|
CONF_DISTANCE,
|
||||||
)
|
)
|
||||||
from . import CONF_MR60BHA2_ID, MR60BHA2Component
|
from . import CONF_MR60BHA2_ID, MR60BHA2Component
|
||||||
|
|
||||||
|
@ -11,7 +12,6 @@ AUTO_LOAD = ["seeed_mr60bha2"]
|
||||||
|
|
||||||
CONF_BREATH_RATE = "breath_rate"
|
CONF_BREATH_RATE = "breath_rate"
|
||||||
CONF_HEART_RATE = "heart_rate"
|
CONF_HEART_RATE = "heart_rate"
|
||||||
CONF_DISTANCE = "distance"
|
|
||||||
|
|
||||||
CONFIG_SCHEMA = cv.Schema(
|
CONFIG_SCHEMA = cv.Schema(
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,6 +3,7 @@ from esphome.components import select
|
||||||
import esphome.config_validation as cv
|
import esphome.config_validation as cv
|
||||||
from esphome.const import (
|
from esphome.const import (
|
||||||
ENTITY_CATEGORY_CONFIG,
|
ENTITY_CATEGORY_CONFIG,
|
||||||
|
CONF_SENSITIVITY,
|
||||||
)
|
)
|
||||||
from .. import CONF_MR60FDA2_ID, MR60FDA2Component, mr60fda2_ns
|
from .. import CONF_MR60FDA2_ID, MR60FDA2Component, mr60fda2_ns
|
||||||
|
|
||||||
|
@ -12,7 +13,6 @@ SensitivitySelect = mr60fda2_ns.class_("SensitivitySelect", select.Select)
|
||||||
|
|
||||||
CONF_INSTALL_HEIGHT = "install_height"
|
CONF_INSTALL_HEIGHT = "install_height"
|
||||||
CONF_HEIGHT_THRESHOLD = "height_threshold"
|
CONF_HEIGHT_THRESHOLD = "height_threshold"
|
||||||
CONF_SENSITIVITY = "sensitivity"
|
|
||||||
|
|
||||||
CONFIG_SCHEMA = {
|
CONFIG_SCHEMA = {
|
||||||
cv.GenerateID(CONF_MR60FDA2_ID): cv.use_id(MR60FDA2Component),
|
cv.GenerateID(CONF_MR60FDA2_ID): cv.use_id(MR60FDA2Component),
|
||||||
|
|
Loading…
Reference in a new issue