mirror of
https://github.com/esphome/esphome.git
synced 2025-10-27 13:13:50 +00:00
Use relative include, add check
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import esphome.codegen as cg
|
||||
import esphome.config_validation as cv
|
||||
from esphome.components import binary_sensor
|
||||
from esphome.components.esp32_touch import ESP32TouchComponent
|
||||
from esphome.const import CONF_NAME, CONF_PIN, CONF_THRESHOLD, ESP_PLATFORM_ESP32, CONF_ID
|
||||
from esphome.pins import validate_gpio_pin
|
||||
from . import esp32_touch_ns
|
||||
from . import esp32_touch_ns, ESP32TouchComponent
|
||||
|
||||
ESP_PLATFORMS = [ESP_PLATFORM_ESP32]
|
||||
DEPENDENCIES = ['esp32_touch']
|
||||
|
||||
Reference in New Issue
Block a user