mirror of
https://github.com/esphome/esphome.git
synced 2025-08-09 11:57:46 +00:00
Merge branch 'binary_sensor_gpio_polling' into integration
This commit is contained in:
commit
3779675816
@ -43,4 +43,4 @@ async def to_code(config):
|
|||||||
|
|
||||||
cg.add(var.set_use_interrupt(config[CONF_USE_INTERRUPT]))
|
cg.add(var.set_use_interrupt(config[CONF_USE_INTERRUPT]))
|
||||||
if 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]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user