mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Add port field to wake_on_lan (#13682)
This commit is contained in:
parent
3f20fec412
commit
cfe8c9f093
@ -32,10 +32,11 @@ Available services: `send_magic_packet`.
|
||||
|
||||
Send a _magic packet_ to wake up a device with 'Wake-On-LAN' capabilities.
|
||||
|
||||
| Service data attribute | Optional | Description |
|
||||
|---------------------------|----------|-------------------------------------------------------|
|
||||
| `mac` | no | MAC address of the device to wake up. |
|
||||
| `broadcast_address` | yes | Optional broadcast IP where to send the magic packet. |
|
||||
| Service data attribute | Optional | Description |
|
||||
|---------------------------|----------|---------------------------------------------------------|
|
||||
| `mac` | no | MAC address of the device to wake up. |
|
||||
| `broadcast_address` | yes | Optional broadcast IP where to send the magic packet. |
|
||||
| `broadcast_port` | yes | Optional port where to send the magic packet. |
|
||||
|
||||
Sample service data:
|
||||
|
||||
@ -87,6 +88,10 @@ broadcast_address:
|
||||
required: false
|
||||
default: 255.255.255.255
|
||||
type: string
|
||||
broadcast_port:
|
||||
description: The port to send the magic packet to.
|
||||
required: false
|
||||
type: integer
|
||||
{% endconfiguration %}
|
||||
|
||||
### Examples
|
||||
|
Loading…
x
Reference in New Issue
Block a user