mirror of
https://github.com/esphome/esphome.git
synced 2025-02-25 04:22:30 +01:00
Update binary_sensor.py
This commit is contained in:
parent
49fb297939
commit
f213159100
1 changed files with 1 additions and 1 deletions
|
@ -96,4 +96,4 @@ async def to_code(config):
|
||||||
|
|
||||||
if CONF_MOTION in config:
|
if CONF_MOTION in config:
|
||||||
sens = await binary_sensor.new_binary_sensor(config[CONF_MOTION])
|
sens = await binary_sensor.new_binary_sensor(config[CONF_MOTION])
|
||||||
cg.add(parent.set_window(sens))
|
cg.add(parent.set_motion(sens))
|
||||||
|
|
Loading…
Add table
Reference in a new issue