From f99b5362344eb479efd4d0492f8840f1e14acd93 Mon Sep 17 00:00:00 2001 From: Spencer Yan Date: Tue, 22 Oct 2024 17:10:03 +0800 Subject: [PATCH] fix(mr60fda2): binard_sensor.py variable name --- esphome/components/seeed_mr60fda2/binary_sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/seeed_mr60fda2/binary_sensor.py b/esphome/components/seeed_mr60fda2/binary_sensor.py index 3024dce97b..2860ac0100 100644 --- a/esphome/components/seeed_mr60fda2/binary_sensor.py +++ b/esphome/components/seeed_mr60fda2/binary_sensor.py @@ -30,4 +30,4 @@ async def to_code(config): if is_fall_config := config.get(CONF_FALL_DETECTED): 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))