1
0
mirror of https://github.com/esphome/esphome.git synced 2025-07-13 18:43:12 +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

@ -20,8 +20,7 @@ def to_code(config):
yield
rhs = App.make_gpio_binary_sensor(config[CONF_NAME], pin)
gpio = variable(config[CONF_MAKE_ID], rhs)
for _ in binary_sensor.setup_binary_sensor(gpio.Pgpio, gpio.Pmqtt, config):
yield
binary_sensor.setup_binary_sensor(gpio.Pgpio, gpio.Pmqtt, config)
BUILD_FLAGS = '-DUSE_GPIO_BINARY_SENSOR'