Skip to content

Show "Via the network" instead of "Wirelessly" in logs dialog for Ethernet devices#918

Open
tieskuh wants to merge 1 commit into
esphome:mainfrom
tieskuh:logs-dialog-ethernet-label
Open

Show "Via the network" instead of "Wirelessly" in logs dialog for Ethernet devices#918
tieskuh wants to merge 1 commit into
esphome:mainfrom
tieskuh:logs-dialog-ethernet-label

Conversation

@tieskuh

@tieskuh tieskuh commented Jun 11, 2026

Copy link
Copy Markdown

What does this implement/fix?

The "How to get the logs for your device?" dialog always labels the OTA option "Wirelessly". For devices that are connected via Ethernet this is misleading — the connection is wired, there is nothing wireless about it.

The install dialog already handles this case: install-choose-dialog.ts shows "Via the network" when the configuration uses the ethernet component. This PR applies the exact same logic to the logs target dialog:

  • Fetch the configuration in firstUpdated() and set _ethernet based on loaded_integrations.includes("ethernet")
  • Show "Via the network" instead of "Wirelessly" when the device uses Ethernet
  • Reword the auto-pick comment from "wireless option" to "network option" to match

WiFi-based devices keep the existing "Wirelessly" label, identical to the install dialog behaviour.

@tieskuh tieskuh force-pushed the logs-dialog-ethernet-label branch from bdfab6c to 2696c3d Compare June 11, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant