Description:
In the “Wake on LAN” integration there is no option to select a specific network interface for sending the WoL packet. When the Home Assistant server has more than one network interface, there is no way to specify which interface should send the WoL packet.
However, the underlying Python module used by this integration supports this feature via the interface
(IP address) parameter of the send_magic_packet
method. It would be great if this option were exposed in the integration to allow users to specify the network interface.
Steps to Reproduce:
- Set up Home Assistant on a device with more than one network interface.
- Use the “Wake on LAN” integration to wake device connected to a network other than the primary one.
Expected Behavior:
There should be an option to select the network interface (IP address) through which the WoL packet will be sent.