1
0
mirror of https://github.com/esphome/esphome.git synced 2025-06-18 22:35:40 +01:00
This commit is contained in:
Otto Winter
2018-06-03 07:11:11 +02:00
parent 90cbe5bfb6
commit f20165de99
31 changed files with 113 additions and 170 deletions

@ -47,8 +47,7 @@ def to_code(config):
yield
touch_pad = TOUCH_PADS[config[CONF_PIN]]
rhs = hub.make_touch_pad(config[CONF_NAME], touch_pad, config[CONF_THRESHOLD])
for _ in binary_sensor.register_binary_sensor(rhs, config):
yield
binary_sensor.register_binary_sensor(rhs, config)
BUILD_FLAGS = '-DUSE_ESP32_TOUCH_BINARY_SENSOR'