1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-19 11:42:20 +01:00
This commit is contained in:
J. Nick Koston
2025-07-31 19:46:40 -10:00
parent 264fbb4029
commit 082d741066

View File

@@ -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(