This conditional automation is a good example of why Home Assistant’s automations are so much better than simpler platforms ...
Turn your cable outlets into high-speed internet ports with this simple, low-cost adapter - no rewiring required.