Skip to content

Commit 7f27b38

Browse files
Chris-Vfabaff
authored andcommitted
Add turn_off to the wol switch. (home-assistant#1422)
Updates the documentation to add changes from home-assistant/7a946af40f487b9f3152748875eae77d2ba849df
1 parent e67faef commit 7f27b38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/_components/switch.wake_on_lan.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ha_release: 0.16
1515
The `wake_on_lan` (WOL) switch platform allows you to turn on a [WOL](https://en.wikipedia.org/wiki/Wake-on-LAN) enabled computer.
1616

1717
<p class='note warning'>
18-
The WOL switch can only turn on your computer and monitor the state. There is no universal way to turn off a computer remotely.
18+
The WOL switch can only turn on your computer and monitor the state. There is no universal way to turn off a computer remotely. The `turn_off` variable is there to help you call a script when you have figured out how to remotely turn off your computer.
1919
</p>
2020

2121
To enable this switch in your installation, add the following to your `configuration.yaml` file:
@@ -32,4 +32,4 @@ Configuration variables:
3232
- **mac_address** (*Required*): MAC address to send the wake up command to.
3333
- **name** (*Optional*): The name of the switch. Default is 'Wake on LAN'.
3434
- **host** (*Optional*): The IP address or hostname to check the state of the device (on/off).
35-
35+
- **turn_off** (*Optional*): Defines an [action](/getting-started/automation/) to run when the switch is turned off.

0 commit comments

Comments
 (0)