1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-27 07:32:22 +01:00

Merge branch 'esp32_ble_co' into integration

This commit is contained in:
J. Nick Koston
2025-08-04 20:06:29 -10:00
13 changed files with 73 additions and 12 deletions

View File

@@ -122,9 +122,13 @@ def choose_upload_log_host(
resolved: list[str] = []
for device in defaults:
if device == "SERIAL":
serial_ports = get_serial_ports()
if not serial_ports:
_LOGGER.warning("No serial ports found, skipping SERIAL device")
continue
options = [
(f"{port.path} ({port.description})", port.path)
for port in get_serial_ports()
for port in serial_ports
]
resolved.append(choose_prompt(options, purpose=purpose))
elif device == "OTA":