From e17af87f6e812ca0dfef7a1de5b7ebda27db59e4 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 31 Jul 2025 22:25:44 -1000 Subject: [PATCH] preen --- esphome/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esphome/util.py b/esphome/util.py index 047ea8ecea..8fc65967b9 100644 --- a/esphome/util.py +++ b/esphome/util.py @@ -6,6 +6,7 @@ from pathlib import Path import re import subprocess import sys +from typing import Any from esphome import const @@ -223,7 +224,7 @@ def run_external_command( return retval -def run_external_process(*cmd: str, **kwargs: str) -> int | str: +def run_external_process(*cmd: str, **kwargs: Any) -> int | str: full_cmd = " ".join(shlex_quote(x) for x in cmd) _LOGGER.debug("Running: %s", full_cmd) filter_lines = kwargs.get("filter_lines")