Merge branch 'binary_sensor_gpio_polling' into integration

This commit is contained in:
J. Nick Koston 2025-06-29 18:33:34 -05:00
commit 3779675816
No known key found for this signature in database

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]))