diff --git a/components/switch.command_line/index.html b/components/switch.command_line/index.html
index 67fef8e575..e76e59bb8d 100644
--- a/components/switch.command_line/index.html
+++ b/components/switch.command_line/index.html
@@ -78,11 +78,11 @@
To enable it, add the following lines to your configuration.yaml
:
# Example configuration.yaml entry
switch:
- platform: command_line
- switches:
- kitchen_light:
- command_on: switch_command on kitchen
- command_off: switch_command off kitchen
+ - platform: command_line
+ switches:
+ kitchen_light:
+ command_on: switch_command on kitchen
+ command_off: switch_command off kitchen
Configuration variables:
diff --git a/docs/ecosystem/certificates/lets_encrypt/index.html b/docs/ecosystem/certificates/lets_encrypt/index.html
index 6c56322a59..9ad09d818e 100644
--- a/docs/ecosystem/certificates/lets_encrypt/index.html
+++ b/docs/ecosystem/certificates/lets_encrypt/index.html
@@ -246,7 +246,7 @@ $ sudo adduser hass sudo
$ sudo su -s /bin/bash hass
-Make sure you are in the home directory for the HA user:
+Make sure you are in the home directory for the Home Assistant user:
@@ -257,7 +257,12 @@ $ wget https://dl.eff.org/certbot-auto
$ chmod a+x certbot-auto
-Now we will run the certbot program to get our ssl certificate. You will need to include your email address and your DuckDNS URL in the appropriate places:
+You might need to stop Home Assistant before continuing with the next step. You can do this via the Web-UI or use the following command if you are running on Hassbian:
+$ sudo systemctl stop home-assistant@homeassistant.service
+
+
+You can restart Home Assistant after the next step using the same command and replacing stop
with start
.
+Now we will run the certbot program to get our SSL certificate. You will need to include your email address and your DuckDNS URL in the appropriate places:
$ ./certbot-auto certonly --standalone --preferred-challenges http-01 --email your@email.address -d examplehome.duckdns.org
@@ -275,11 +280,11 @@ $ chmod a+x certbot-auto
Did all of that go without a hitch? Wahoo! Your Let’s Encrypt certificate is now ready to be used with Home Assistant. Move to step 5 to put it all together
5 - Check the incoming connection
-Following on from Step 4 your SSH will still be in the certbot folder. If you edit your configuration files over SSH you will need to change to your homeassistant
folder:
+Following on from Step 4 your SSH will still be in the certbot folder. If you edit your configuration files over SSH you will need to change to our homeassistant
folder:
$ cd ~/.homeassistant
-If you use samba shares to edit your files you can exit your SSH now.
+If you use Samba shares to edit your files you can exit your SSH now.
If during step 4 you had to use port 443 instead of port 80 to generate your certificate, you should delete that rule now.
Go to your router’s configuration pages and set up a new port forwarding rule, thus:
@@ -447,7 +452,7 @@ In cases where, for whatever reason, apt-get installing is not appropriate for y
- If you are a ONE-RULE person, replace the
certbot-auto
command above with ~/certbot/certbot-auto renew --quiet --no-self-upgrade --standalone --preferred-challenges tls-sni-01 --tls-sni-01-port 8123 --pre-hook "sudo systemctl stop home-assistant@homeassistant.service" --post-hook "sudo systemctl start home-assistant@homeassistant.service"
-So, now were all set up. We have our secured, remotely accesible HA instance and we’re on track for keeping our certificates up to date. But what if something goes wrong? What if the automation didn’t fire? What if the cron job forgot to run? What if the dog ate my homework? Read on to set up an alert so you can be notified in plenty of time if you need to step in and sort out any failures.
+So, now were all set up. We have our secured, remotely accessible Home Assistant instance and we’re on track for keeping our certificates up to date. But what if something goes wrong? What if the automation didn’t fire? What if the cron job forgot to run? What if the dog ate my homework? Read on to set up an alert so you can be notified in plenty of time if you need to step in and sort out any failures.
9 - Set up an alert to warn us if something went wrong.
We set up our automatic renewal of our certificates and whatever method we used the certificate should be renewed on or around 30 days before it expires. But what if a week later it still hasn’t been? This alert will go off if the expiry time on the certificate gets down to 21 days. This will give you 3 weeks to fix the problem, get your new certificate installed and get another 90 days of secure Home Assistant connections in play.
In your configuration.yaml
add the following automation, adding your preferred notification platform where appropriate:
diff --git a/sitemap.xml b/sitemap.xml
index 7eed0d18da..e7a540c84b 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -3826,7 +3826,7 @@
https://home-assistant.io/components/switch.hook/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/cookbook/automation_for_rainy_days/
@@ -4506,99 +4506,99 @@
https://home-assistant.io/docs/autostart/init.d/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/api/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/configuration/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/installation/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/operation/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/reboot/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/running/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/updating/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/windows/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/certificates/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/hadashboard/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/hass-configurator/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/ios/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/nginx/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/notebooks/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/scenegen/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/ecosystem/synology/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/tools/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/tools/dev-tools/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/tools/hass/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/docs/tools/scripts/
-2018-01-08T07:49:32+00:00
+2018-01-08T12:06:03+00:00
https://home-assistant.io/faq/after-upgrading/
@@ -5734,62 +5734,62 @@
https://home-assistant.io/demo/frontend.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00
https://home-assistant.io/demo/index.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00
https://home-assistant.io/static/mdi-demo.html
-2018-01-08T07:48:38+00:00
+2018-01-08T12:05:11+00:00