From df52cd3b7507ab9100326d7a1f4fd88c71866d2e Mon Sep 17 00:00:00 2001 From: Mark Featherston Date: Fri, 3 Oct 2025 09:37:12 -0700 Subject: [PATCH] Get base_height from the config --- linak_controller/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linak_controller/main.py b/linak_controller/main.py index a9c3e63..02f65ee 100755 --- a/linak_controller/main.py +++ b/linak_controller/main.py @@ -88,7 +88,7 @@ async def run_command(desk: Desk, command: Command): # Move to custom height if command["value"] in desk.config["favourites"]: target = Height( - desk.config["favourites"].get(command["value"]), desk.base_height, True + desk.config["favourites"].get(command["value"]), desk.config["base_height"], True ) logger.log( f"""Moving to favourite height: {command["value"]} ({target.human} mm)"""