Update binary_sensor.py

This commit is contained in:
t0urista 2024-10-28 20:28:49 +01:00 committed by GitHub
parent 49fb297939
commit f213159100
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -96,4 +96,4 @@ async def to_code(config):
if CONF_MOTION in config:
sens = await binary_sensor.new_binary_sensor(config[CONF_MOTION])
cg.add(parent.set_window(sens))
cg.add(parent.set_motion(sens))