mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 18:18:43 +00:00
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