diff --git a/atom.xml b/atom.xml
index 8839a4f85f..f8a0d01e70 100644
--- a/atom.xml
+++ b/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml
index 516c65237a..ee28df7599 100644
--- a/blog/categories/community/atom.xml
+++ b/blog/categories/community/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml
index 481d642c70..d4964df287 100644
--- a/blog/categories/device-tracking/atom.xml
+++ b/blog/categories/device-tracking/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml
index 952e884683..f2536ca9cf 100644
--- a/blog/categories/esp8266/atom.xml
+++ b/blog/categories/esp8266/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml
index ca38377b69..ed36794efa 100644
--- a/blog/categories/how-to/atom.xml
+++ b/blog/categories/how-to/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml
index aba82f4771..f1b3801166 100644
--- a/blog/categories/ibeacons/atom.xml
+++ b/blog/categories/ibeacons/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml
index f6b9acb24c..f6e3f46db9 100644
--- a/blog/categories/internet-of-things/atom.xml
+++ b/blog/categories/internet-of-things/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml
index 0b1c4a12f2..f74c973311 100644
--- a/blog/categories/iot-data/atom.xml
+++ b/blog/categories/iot-data/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml
index 78b783c3be..8aa2f30ac5 100644
--- a/blog/categories/micropython/atom.xml
+++ b/blog/categories/micropython/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml
index 3031fd227b..d2d6e5c42d 100644
--- a/blog/categories/mqtt/atom.xml
+++ b/blog/categories/mqtt/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml
index ca06b03aaa..912dc02b4f 100644
--- a/blog/categories/organisation/atom.xml
+++ b/blog/categories/organisation/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml
index 8baf8bc6fe..320c0d3e8b 100644
--- a/blog/categories/owntracks/atom.xml
+++ b/blog/categories/owntracks/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml
index 0bb18c9658..46b8961dfa 100644
--- a/blog/categories/presence-detection/atom.xml
+++ b/blog/categories/presence-detection/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml
index 95e4d46d3a..e217f5e33d 100644
--- a/blog/categories/public-service-announcement/atom.xml
+++ b/blog/categories/public-service-announcement/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml
index 7fb49decd7..56edf3076d 100644
--- a/blog/categories/release-notes/atom.xml
+++ b/blog/categories/release-notes/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml
index 3abefe7e37..1c378cd804 100644
--- a/blog/categories/survey/atom.xml
+++ b/blog/categories/survey/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml
index e5f918f519..8049b45e27 100644
--- a/blog/categories/talks/atom.xml
+++ b/blog/categories/talks/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml
index bb259a693c..2f99ba88e0 100644
--- a/blog/categories/technology/atom.xml
+++ b/blog/categories/technology/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml
index b08cd3c215..ec3d8c817c 100644
--- a/blog/categories/user-stories/atom.xml
+++ b/blog/categories/user-stories/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml
index 0f66091e9c..479308ff0b 100644
--- a/blog/categories/video/atom.xml
+++ b/blog/categories/video/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml
index 7b35a62d4f..6f074c2475 100644
--- a/blog/categories/website/atom.xml
+++ b/blog/categories/website/atom.xml
@@ -4,7 +4,7 @@
- 2017-02-07T18:40:31+00:00
+ 2017-02-07T21:09:52+00:00
https://home-assistant.io/
diff --git a/components/switch.wake_on_lan/index.html b/components/switch.wake_on_lan/index.html
index fe3645cac8..853998e563 100644
--- a/components/switch.wake_on_lan/index.html
+++ b/components/switch.wake_on_lan/index.html
@@ -131,22 +131,20 @@ from Home Assistant running on another Linux computer (the serverOn the server , verify that you can reach your target machine without password by ssh TARGET
.
On the target , we need to let the hass user execute the program needed to suspend/shut down the target computer. I’m using pm-suspend
, use poweroff
to turn off the computer. First, get the full path: which pm-suspend
. On my system, this is /usr/sbin/pm-suspend
.
On the target , using an account with sudo access (typically your main account), sudo visudo
. Add this line last in the file: hass ALL=NOPASSWD:/usr/sbin/pm-suspend
, where you replace hass
with the name of your user on the target, if different, and /usr/sbin/pm-suspend
with the command of your choice, if different.
- On the server , add the following to your configuration, replacing TARGET with the target’s name:
-```yaml
-switch:
-
- platform: wake_on_lan
- name: “TARGET”
- …
- turn_off:
- service: shell_command.turn_off_TARGET
-
-
+ On the server , add the following to your configuration, replacing TARGET with the target’s name:
-shell_command:
- turn_off_TARGET: ‘ssh hass@TARGET sudo pm-suspend’
-```
+switch :
+ - platform : wake_on_lan
+ name : " TARGET"
+ ...
+ turn_off :
+ service : shell_command.turn_off_TARGET
+
+shell_command :
+ turn_off_TARGET : ' ssh hass@TARGET sudo pm-suspend'
+
+
diff --git a/sitemap.xml b/sitemap.xml
index 431261749b..9ece17ae88 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -2737,62 +2737,62 @@
https://home-assistant.io/demo/frontend.html
-2017-02-07T18:39:49+00:00
+2017-02-07T21:09:10+00:00
https://home-assistant.io/demo/index.html
-2017-02-07T18:39:49+00:00
+2017-02-07T21:09:10+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
-2017-02-07T18:39:49+00:00
+2017-02-07T21:09:10+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
-2017-02-07T18:39:49+00:00
+2017-02-07T21:09:10+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
-2017-02-07T18:39:49+00:00
+2017-02-07T21:09:10+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
-2017-02-07T18:39:49+00:00
+2017-02-07T21:09:10+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
-2017-02-07T18:39:49+00:00
+2017-02-07T21:09:10+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
-2017-02-07T18:39:49+00:00
+2017-02-07T21:09:10+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
-2017-02-07T18:39:49+00:00
+2017-02-07T21:09:10+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
-2017-02-07T18:39:49+00:00
+2017-02-07T21:09:10+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
-2017-02-07T18:39:49+00:00
+2017-02-07T21:09:10+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
-2017-02-07T18:39:49+00:00
+2017-02-07T21:09:10+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
-2017-02-07T18:39:50+00:00
+2017-02-07T21:09:10+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
-2017-02-07T18:39:50+00:00
+2017-02-07T21:09:10+00:00
https://home-assistant.io/static/mdi-demo.html
-2017-02-07T18:39:50+00:00
+2017-02-07T21:09:10+00:00