more flex

This commit is contained in:
J. Nick Koston 2023-06-09 12:35:41 -05:00
parent 39fdc5f881
commit 91a9ed8b64
No known key found for this signature in database
1 changed files with 0 additions and 7 deletions

View File

@ -76,13 +76,6 @@ async def to_code(config):
pin = await cg.gpio_pin_expression(config[CONF_INPUT_OBST]) pin = await cg.gpio_pin_expression(config[CONF_INPUT_OBST])
cg.add(var.set_input_obst_pin(pin)) cg.add(var.set_input_obst_pin(pin))
pin = await cg.gpio_pin_expression(config[CONF_TRIGGER_OPEN])
cg.add(var.set_trigger_open_pin(pin))
pin = await cg.gpio_pin_expression(config[CONF_TRIGGER_CLOSE])
cg.add(var.set_trigger_close_pin(pin))
pin = await cg.gpio_pin_expression(config[CONF_TRIGGER_LIGHT])
cg.add(var.set_trigger_light_pin(pin))
pin = await cg.gpio_pin_expression(config[CONF_STATUS_DOOR]) pin = await cg.gpio_pin_expression(config[CONF_STATUS_DOOR])
cg.add(var.set_status_door_pin(pin)) cg.add(var.set_status_door_pin(pin))
pin = await cg.gpio_pin_expression(config[CONF_STATUS_OBST]) pin = await cg.gpio_pin_expression(config[CONF_STATUS_OBST])