1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-08 04:43:46 +01:00

Merge branch 'binary_sensor_gpio_polling' into integration

This commit is contained in:
J. Nick Koston
2025-06-29 18:33:34 -05:00

View File

@@ -43,4 +43,4 @@ async def to_code(config):
cg.add(var.set_use_interrupt(config[CONF_USE_INTERRUPT]))
if config[CONF_USE_INTERRUPT]:
cg.add(var.set_interrupt_type(INTERRUPT_TYPES[config[CONF_INTERRUPT_TYPE]]))
cg.add(var.set_interrupt_type(config[CONF_INTERRUPT_TYPE]))