mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 10:44:13 +01:00
fix(mr60fda2): binard_sensor.py variable name
This commit is contained in:
parent
adb9207488
commit
f99b536234
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue