diff --git a/scripts/fan_controller.py b/scripts/fan_controller.py index 563ffbd..680f064 100644 --- a/scripts/fan_controller.py +++ b/scripts/fan_controller.py @@ -26,7 +26,7 @@ fans = [ ] -def get_temp(channel) -> float: +def get_temp(channel: dict) -> float: match channel["type"]: case "RTD": return read_temp(stack=channel["stack"], channel=channel["channel"])