mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 02:07:15 +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.
|
Send a _magic packet_ to wake up a device with 'Wake-On-LAN' capabilities.
|
||||||
|
|
||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
|---------------------------|----------|-------------------------------------------------------|
|
|---------------------------|----------|---------------------------------------------------------|
|
||||||
| `mac` | no | MAC address of the device to wake up. |
|
| `mac` | no | MAC address of the device to wake up. |
|
||||||
| `broadcast_address` | yes | Optional broadcast IP where to send the magic packet. |
|
| `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:
|
Sample service data:
|
||||||
|
|
||||||
@ -87,6 +88,10 @@ broadcast_address:
|
|||||||
required: false
|
required: false
|
||||||
default: 255.255.255.255
|
default: 255.255.255.255
|
||||||
type: string
|
type: string
|
||||||
|
broadcast_port:
|
||||||
|
description: The port to send the magic packet to.
|
||||||
|
required: false
|
||||||
|
type: integer
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
Loading…
x
Reference in New Issue
Block a user