mirror of
https://github.com/esphome/esphome.git
synced 2025-09-28 16:12:24 +01:00
preen
This commit is contained in:
@@ -507,10 +507,8 @@ def command_compile(args: ArgsProtocol, config: ConfigType) -> int | None:
|
|||||||
|
|
||||||
|
|
||||||
def command_upload(args: ArgsProtocol, config: ConfigType) -> int | None:
|
def command_upload(args: ArgsProtocol, config: ConfigType) -> int | None:
|
||||||
devices: list[str] = args.device or []
|
|
||||||
if not devices:
|
|
||||||
# No devices specified, use the interactive chooser
|
# No devices specified, use the interactive chooser
|
||||||
devices = [
|
devices: list[str] = args.device or [
|
||||||
choose_upload_log_host(
|
choose_upload_log_host(
|
||||||
default=None,
|
default=None,
|
||||||
check_default=None,
|
check_default=None,
|
||||||
|
Reference in New Issue
Block a user