diff --git a/source/_posts/2015-06-10-release-notes.markdown b/source/_posts/2015-06-10-release-notes.markdown
index 8e072a3384e..8f4f82bef1e 100644
--- a/source/_posts/2015-06-10-release-notes.markdown
+++ b/source/_posts/2015-06-10-release-notes.markdown
@@ -167,7 +167,7 @@ switch:
__Hikvision camera motion detection support__
This switch platform allows you to control your motion detection setting on your Hikvision camera.
-```
+```yaml
# Example configuration.yaml entry
switch:
platform: hikvisioncam
diff --git a/source/_posts/2015-07-11-ip-cameras-arduino-kodi-efergy-support.markdown b/source/_posts/2015-07-11-ip-cameras-arduino-kodi-efergy-support.markdown
index 6ebdb75ffd0..711c72a21f8 100644
--- a/source/_posts/2015-07-11-ip-cameras-arduino-kodi-efergy-support.markdown
+++ b/source/_posts/2015-07-11-ip-cameras-arduino-kodi-efergy-support.markdown
@@ -64,7 +64,7 @@ __Kodi (XBMC)__
Ettisan has contributed a Kodi (XBMC) platform for the media player component. This allows you to track all the media that you are playing and allow you to control it.
-```
+```yaml
# Example configuration.yaml entry
media_player:
platform: kodi
diff --git a/source/_posts/2015-08-09-mqtt-raspberry-pi-squeezebox-asuswrt-support.markdown b/source/_posts/2015-08-09-mqtt-raspberry-pi-squeezebox-asuswrt-support.markdown
index 8845471af0f..5591d5e4506 100644
--- a/source/_posts/2015-08-09-mqtt-raspberry-pi-squeezebox-asuswrt-support.markdown
+++ b/source/_posts/2015-08-09-mqtt-raspberry-pi-squeezebox-asuswrt-support.markdown
@@ -36,7 +36,7 @@ __Raspberry PI GPIO Support__
[@gbarba](https://github.com/gbarba) has contributed support to use the general purpose input and output pins on a Raspberry PI as switches inside Home Assistant.
-```
+```yaml
# Example configuration.yaml entry
switch:
platform: rpi_gpio
@@ -62,7 +62,7 @@ __Logitech Squeezebox media player support__
[@persandstrom](https://github.com/persandstrom) also contributed support for the Logitech Squeezebox media player. This allows you to control your Logitech Squeezebox from Home Assistant.
-```
+```yaml
# Example configuration.yaml entry
media_player:
platform: squeezebox
@@ -88,7 +88,7 @@ __Edimax Smart Switches support__
[@rkabadi](https://github.com/rkabadi) has contributed support for integrating Edimax Smart Switches into Home Assistant.
-```
+```yaml
# Example configuration.yaml entry
switch:
platform: edimax
@@ -113,7 +113,7 @@ The path to your device, e.g. `/dev/serial/by-id/usb-RFXCOM_RFXtrx433_A1Y0NJGR-i
__TEMPer temperature sensor support__
Support for Temper temperature sensors has been contributed by [@rkabadi](https://github.com/rkabadi).
-```
+```yaml
# Example configuration.yaml entry
sensor:
platform: temper
diff --git a/source/_posts/2015-09-13-home-assistant-meets-ifttt.markdown b/source/_posts/2015-09-13-home-assistant-meets-ifttt.markdown
index c74e542c27e..636d75209c1 100644
--- a/source/_posts/2015-09-13-home-assistant-meets-ifttt.markdown
+++ b/source/_posts/2015-09-13-home-assistant-meets-ifttt.markdown
@@ -54,7 +54,7 @@ Maker channel setup:
-This will tweet a message when a MQTT message is received that the smoke alarm has been triggered.
+This will tweet a message when an MQTT message is received that the smoke alarm has been triggered.
Setup Maker channel with event name `HA_FIRE_ALARM` and Twitter channel to tweet the message in
`value1`.
diff --git a/source/_posts/2015-09-19-alarm-sonos-and-itunes-support.markdown b/source/_posts/2015-09-19-alarm-sonos-and-itunes-support.markdown
index 9fb7ab40e4f..19f4331dee2 100644
--- a/source/_posts/2015-09-19-alarm-sonos-and-itunes-support.markdown
+++ b/source/_posts/2015-09-19-alarm-sonos-and-itunes-support.markdown
@@ -28,7 +28,7 @@ __iTunes and airplay speakers__
[@maddox](https://github.com/maddox) has contributed support for controlling iTunes and airplay speakers. For this to work you will
have to run [itunes-api](https://github.com/maddox/itunes-api) on your Mac as middleware.
-```
+```yaml
# Example configuration.yaml entry
media_player:
platform: itunes
diff --git a/source/components/device_tracker.nmap_scanner.markdown b/source/components/device_tracker.nmap_scanner.markdown
index ee3ac047cb9..dcc45263813 100644
--- a/source/components/device_tracker.nmap_scanner.markdown
+++ b/source/components/device_tracker.nmap_scanner.markdown
@@ -17,7 +17,7 @@ including the network-prefix notation (`192.168.1.1/24`) and the range notation
If you're on Debian or Ubuntu, you might have to install the packages for arp and nmap. Do so by
running `apt-get install net-tools nmap`.
-```
+```yaml
# Example configuration.yaml entry
device_tracker:
platform: nmap_tracker
diff --git a/source/components/discovery.markdown b/source/components/discovery.markdown
index aca8501c092..0470fd8cbe9 100644
--- a/source/components/discovery.markdown
+++ b/source/components/discovery.markdown
@@ -21,7 +21,8 @@ It will be able to add Google Chreomcasts and Belkin WeMo switches automatically
To load this component, add the following lines to your `configuration.yaml`:
-```
+```yaml
+# Example configuration.yaml entry
discovery:
```
diff --git a/source/components/downloader.markdown b/source/components/downloader.markdown
index ab61011ebd7..8aba1451e29 100644
--- a/source/components/downloader.markdown
+++ b/source/components/downloader.markdown
@@ -14,7 +14,7 @@ The `downloader` component provides a service to download files. It will raise a
To enable it, add the following lines to your `configuration.yaml`:
-```
+```yaml
# Example configuration.yaml entry
downloader:
download_dir: downloads
diff --git a/source/components/light.hue.markdown b/source/components/light.hue.markdown
index becdfdbc82a..b8906e71290 100644
--- a/source/components/light.hue.markdown
+++ b/source/components/light.hue.markdown
@@ -15,7 +15,8 @@ Philips Hue support is integrated into Home Assistant as a light platform. The p
If you want to enable the light component directly, add the following lines to your `configuration.yaml`:
-```
+```yaml
+# Example configuration.yaml entry
light:
platform: hue
```
diff --git a/source/components/light.limitlessled.markdown b/source/components/light.limitlessled.markdown
index 40fd5adaa52..4e17c2e85dd 100644
--- a/source/components/light.limitlessled.markdown
+++ b/source/components/light.limitlessled.markdown
@@ -14,7 +14,7 @@ The limitlessled can control your [LimitlessLED](http://www.limitlessled.com/) l
To add limitlessled to your installation, add the following to your `configuration.yaml` file:
-```
+```yaml
# Example configuration.yaml entry
light:
platform: limitlessled
diff --git a/source/components/logbook.markdown b/source/components/logbook.markdown
index 0f23530cc01..dd751c13655 100644
--- a/source/components/logbook.markdown
+++ b/source/components/logbook.markdown
@@ -23,7 +23,7 @@ logbook:
It is possible to add custom entries to the logbook by using the script component to fire an event.
-```
+```yaml
# Example configuration.yaml entry
script:
add_logbook_entry:
diff --git a/source/components/media_player.itunes.markdown b/source/components/media_player.itunes.markdown
index 0947a4ab791..524bd23f398 100644
--- a/source/components/media_player.itunes.markdown
+++ b/source/components/media_player.itunes.markdown
@@ -20,7 +20,7 @@ footer: true
To add iTunes to your installation, add the following to your `configuration.yaml` file:
-```
+```yaml
# Example configuration.yaml entry
media_player:
platform: itunes
diff --git a/source/components/media_player.kodi.markdown b/source/components/media_player.kodi.markdown
index a0c8251edb4..a01f00fe74d 100644
--- a/source/components/media_player.kodi.markdown
+++ b/source/components/media_player.kodi.markdown
@@ -14,7 +14,7 @@ The kodi platform allows you to control a [Kodi](http://kodi.tv/) multimedia sys
To add Kodi to your installation, add the following to your `configuration.yaml` file:
-```
+```yaml
# Example configuration.yaml entry
media_player:
platform: kodi
diff --git a/source/components/media_player.mpd.markdown b/source/components/media_player.mpd.markdown
index bab5e73fbd0..16e3638aee3 100644
--- a/source/components/media_player.mpd.markdown
+++ b/source/components/media_player.mpd.markdown
@@ -14,7 +14,7 @@ The mpd platform allows you to control a [Music Player Daemon](http://www.musicp
To add MPD to your installation, add the following to your `configuration.yaml` file:
-```
+```yaml
# Example configuration.yaml entry
media_player:
platform: mpd
diff --git a/source/components/media_player.squeezebox.markdown b/source/components/media_player.squeezebox.markdown
index 0004014e539..c890f9eda37 100644
--- a/source/components/media_player.squeezebox.markdown
+++ b/source/components/media_player.squeezebox.markdown
@@ -14,7 +14,7 @@ The squeezebox platform allows you to control a [Logitech Squeezebox](https://en
To add your Squeezebox to your installation, add the following to your `configuration.yaml` file:
-```
+```yaml
# Example configuration.yaml entry
media_player:
platform: squeezebox
diff --git a/source/components/notify.markdown b/source/components/notify.markdown
index d3262901e4f..a0e04e4df7b 100644
--- a/source/components/notify.markdown
+++ b/source/components/notify.markdown
@@ -27,7 +27,7 @@ Home Assistant currently supports a wide range of services for notifications:
Notifications are great to be used within Home Automation. Below is a an example configuration that you can add to your `configuration.yaml` to be notified when the sun sets.
-```
+```yaml
automation:
alias: Sun set notification
diff --git a/source/components/notify.pushover.markdown b/source/components/notify.pushover.markdown
index 3835a0392d3..897d9b73903 100644
--- a/source/components/notify.pushover.markdown
+++ b/source/components/notify.pushover.markdown
@@ -33,7 +33,7 @@ The default value is `notify`. The notifier will bind to the service
Notifications are great to be used within Home Automation. Below is a an example configuration that you can add to your `configuration.yaml` to be notified when the sun sets.
-```
+```yaml
automation:
alias: Sun set notification
diff --git a/source/components/sensor.rpi_gpio.markdown b/source/components/sensor.rpi_gpio.markdown
index 92789655b23..77e86d7814f 100644
--- a/source/components/sensor.rpi_gpio.markdown
+++ b/source/components/sensor.rpi_gpio.markdown
@@ -14,7 +14,7 @@ The rpi_gpio sensor platform allows you to read sensor values of the GPIOs of yo
To use your Raspberry Pi's GPIO in your installation, add the following to your `configuration.yaml` file:
-```
+```yaml
# Example configuration.yaml entry
sensor:
platform: rpi_gpio
diff --git a/source/components/sensor.temper.markdown b/source/components/sensor.temper.markdown
index 352584ca224..c90a13e46cb 100644
--- a/source/components/sensor.temper.markdown
+++ b/source/components/sensor.temper.markdown
@@ -13,7 +13,7 @@ This temper sensor platform allows you to get the current temperature from a TEM
To use your TEMPer sensor in your installation, add the following to your `configuration.yaml` file:
-```
+```yaml
# Example configuration.yaml entry
sensor:
platform: temper
diff --git a/source/components/switch.edimax.markdown b/source/components/switch.edimax.markdown
index 5beb4bcf0e8..95c0a266927 100644
--- a/source/components/switch.edimax.markdown
+++ b/source/components/switch.edimax.markdown
@@ -14,7 +14,7 @@ This edimax switch platform allows you to control the state of your [Edimax](htt
To use your Edimax switch in your installation, add the following to your `configuration.yaml` file:
-```
+```yaml
# Example configuration.yaml entry
switch:
platform: edimax
diff --git a/source/components/switch.hikvision.markdown b/source/components/switch.hikvision.markdown
index bf19ab5f7eb..1480804be58 100644
--- a/source/components/switch.hikvision.markdown
+++ b/source/components/switch.hikvision.markdown
@@ -14,7 +14,7 @@ This hikvisioncam switch platform allows you to control your motion detection se
To use your Hikvision cam in your installation, add the following to your `configuration.yaml` file:
-```
+```yaml
# Example configuration.yaml entry
switch:
platform: hikvisioncam
diff --git a/source/components/switch.rpi_gpio.markdown b/source/components/switch.rpi_gpio.markdown
index 0d4206c2b73..f7dea1d6272 100644
--- a/source/components/switch.rpi_gpio.markdown
+++ b/source/components/switch.rpi_gpio.markdown
@@ -14,7 +14,7 @@ The rpi_gpio switch platform allows you to control the GPIOs of your [Raspberry
To use your Raspberry Pi's GPIO in your installation, add the following to your `configuration.yaml` file:
-```
+```yaml
# Example configuration.yaml entry
switch:
platform: rpi_gpio
diff --git a/source/components/thermostat.nest.markdown b/source/components/thermostat.nest.markdown
index e4446633758..a2705c43887 100644
--- a/source/components/thermostat.nest.markdown
+++ b/source/components/thermostat.nest.markdown
@@ -14,7 +14,7 @@ The nest thermostat platform let you control a thermostat from [Nest](https://ne
To set it up, add the following information to your `configuration.yaml` file:
-```
+```yaml
thermostat:
platform: nest
username: USERNAME
diff --git a/source/components/vera.markdown b/source/components/vera.markdown
index fe8e7ec664b..910e7e9638f 100644
--- a/source/components/vera.markdown
+++ b/source/components/vera.markdown
@@ -11,7 +11,7 @@ footer: true
-```
+```yaml
# Example configuration.yaml entry
sensor:
platform: vera
diff --git a/source/components/wink.markdown b/source/components/wink.markdown
index 0ade8a52135..7acbdad4a46 100644
--- a/source/components/wink.markdown
+++ b/source/components/wink.markdown
@@ -23,7 +23,7 @@ To get started with the Wink API, you will first need to get yourself an API acc
After you have gotten your access token, add the following to your `configuration.yaml`:
-```
+```yaml
wink:
access_token: YOUR_ACCESS_TOKEN
```
diff --git a/source/developers/creating_components.markdown b/source/developers/creating_components.markdown
index 10360c3a272..203d2e7de71 100644
--- a/source/developers/creating_components.markdown
+++ b/source/developers/creating_components.markdown
@@ -16,7 +16,7 @@ The first is [hello_world.py](https://github.com/balloob/home-assistant/blob/mas
If you want to load these components in Home Assistant, add the following lines to your `configuration.yaml` file:
-```
+```yaml
hello_world:
example:
@@ -79,7 +79,7 @@ The Home Assistant object contains three objects to help you interact with the s
### {% linkable_title Example on using the configuration parameter %}
If your configuration file contains the following lines:
-```
+```yaml
example:
host: paulusschoutsen.nl
```
diff --git a/source/developers/frontend.markdown b/source/developers/frontend.markdown
index ffb43d27a2b..25196bc328c 100644
--- a/source/developers/frontend.markdown
+++ b/source/developers/frontend.markdown
@@ -23,7 +23,7 @@ Do not use development mode in production. Home Assistant uses aggressive cachin
# {% linkable_title Turning on development mode %}
Home Assistant will by default serve the compiled version of the frontend. To change it so that each component and JavaScript are served separately, update your `configuration.yaml` to have these lines:
-```
+```yaml
http:
development: 1
```