Files
esphome/tests/components/ethernet
Claude 4927b98cf9 [ethernet] Allow coexistence with wifi for boot-time interface selection
Removes the unconditional CONFLICTS_WITH = ["wifi"] on the ethernet
component and only disables CONFIG_ESP_WIFI_ENABLED when wifi is not
also configured. This unblocks YAML configs that have both wifi: and
ethernet:, where the user picks one at boot based on cable presence.

Adds:
- enable_on_boot config option on ethernet (mirrors wifi)
- has_link() method that exposes PHY link state for runtime probing
- ethernet.enable / ethernet.disable actions
- ethernet.connected / ethernet.has_link conditions
- A dual-net YAML compile test (tests/components/ethernet/common-dual-net.yaml)

PLAN.md captures the full design and verification steps.

https://claude.ai/code/session_01LyXyqhVQMuab7tdhxRv5sf
2026-05-02 12:40:27 +00:00
..