1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 14:48:18 +00:00
This commit is contained in:
mvturnho 2019-05-26 16:16:03 +02:00
parent 267b0f924a
commit 7444932caf
2 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
import esphome.codegen as cg
import esphome.config_validation as cv
from esphome.components import i2c
from esphome.const import CONF_ID
from mpr121_const import CONF_RELEASE_DEBOUNCE, CONF_TOUCH_DEBOUNCE, \
CONF_TOUCH_THRESHOLD, CONF_RELEASE_THRESHOLD
from esphome.const import CONF_ID
DEPENDENCIES = ['i2c']
AUTO_LOAD = ['binary_sensor']

View File

@ -2,8 +2,8 @@ import esphome.codegen as cg
import esphome.config_validation as cv
from esphome.components import binary_sensor
from esphome.const import CONF_CHANNEL, CONF_ID
from . import mpr121_ns, MPR121Component, CONF_MPR121_ID
from mpr121_const import CONF_TOUCH_THRESHOLD, CONF_RELEASE_THRESHOLD
from . import mpr121_ns, MPR121Component, CONF_MPR121_ID
DEPENDENCIES = ['mpr121']
MPR121Channel = mpr121_ns.class_('MPR121Channel', binary_sensor.BinarySensor)