From 082d741066be2761b516ea4d4d8b4e5a7e89b00d Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 31 Jul 2025 19:46:40 -1000 Subject: [PATCH] preen --- esphome/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/__main__.py b/esphome/__main__.py index 3edccc2bdb..eb34fb74b6 100644 --- a/esphome/__main__.py +++ b/esphome/__main__.py @@ -692,7 +692,7 @@ def command_update_all(args: ArgsProtocol) -> int | None: return failed -def command_idedata(args, config): +def command_idedata(args: ArgsProtocol, config: ConfigType) -> int: import json from esphome import platformio_api @@ -708,7 +708,7 @@ def command_idedata(args, config): return 0 -def command_rename(args, config): +def command_rename(args: ArgsProtocol, config: ConfigType) -> int | None: for c in args.name: if c not in ALLOWED_NAME_CHARS: print(