You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/switch.wake_on_lan.markdown
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ ha_release: 0.16
15
15
The `wake_on_lan` (WOL) switch platform allows you to turn on a [WOL](https://en.wikipedia.org/wiki/Wake-on-LAN) enabled computer.
16
16
17
17
<pclass='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.
19
19
</p>
20
20
21
21
To enable this switch in your installation, add the following to your `configuration.yaml` file:
@@ -32,4 +32,4 @@ Configuration variables:
32
32
- **mac_address** (*Required*): MAC address to send the wake up command to.
33
33
- **name** (*Optional*): The name of the switch. Default is 'Wake on LAN'.
34
34
- **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