YAML syntax highlighting
This commit is contained in:
parent
cb82716922
commit
6fbf16fda1
27 changed files with 33 additions and 31 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
```
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -11,7 +11,7 @@ footer: true
|
|||
|
||||
<img src='/images/supported_brands/vera.png' class='brand' />
|
||||
|
||||
```
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
sensor:
|
||||
platform: vera
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue