fix(mr60fda2): binard_sensor.py variable name

This commit is contained in:
Spencer Yan 2024-10-22 17:10:03 +08:00
parent adb9207488
commit f99b536234

View file

@ -30,4 +30,4 @@ async def to_code(config):
if is_fall_config := config.get(CONF_FALL_DETECTED): if is_fall_config := config.get(CONF_FALL_DETECTED):
sens = await binary_sensor.new_binary_sensor(is_fall_config) sens = await binary_sensor.new_binary_sensor(is_fall_config)
cg.add(mr60fda2_component.set_is_fall_binary_sensor(sens)) cg.add(mr60fda2_component.set_fall_detected_binary_sensor(sens))