Add selectors to wake_on_lan services (#49767)

This commit is contained in:
tkdrob 2021-04-27 10:41:37 -04:00 committed by GitHub
parent a1fdf84dba
commit 9742bfdf46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,25 @@
send_magic_packet:
name: Send magic packet
description: Send a 'magic packet' to wake up a device with 'Wake-On-LAN' capabilities.
fields:
mac:
name: MAC address
description: MAC address of the device to wake up.
required: true
example: "aa:bb:cc:dd:ee:ff"
selector:
text:
broadcast_address:
description: Optional broadcast IP where to send the magic packet.
name: Broadcast address
description: Broadcast IP where to send the magic packet.
example: 192.168.255.255
selector:
text:
broadcast_port:
description: Optional port where to send the magic packet.
name: Broadcast port
description: Port where to send the magic packet.
example: 9
selector:
number:
min: 1
max: 65535