YAML syntax highlighting

This commit is contained in:
Paulus Schoutsen 2015-10-05 21:30:37 -07:00
parent cb82716922
commit 6fbf16fda1
27 changed files with 33 additions and 31 deletions

View file

@ -167,7 +167,7 @@ switch:
__Hikvision camera motion detection support__<br>
This switch platform allows you to control your motion detection setting on your Hikvision camera.
```
```yaml
# Example configuration.yaml entry
switch:
platform: hikvisioncam

View file

@ -64,7 +64,7 @@ __Kodi (XBMC)__<br>
<img src='/images/supported_brands/kodi.png' style='border:none; box-shadow: none; float: right;' height='50' />
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

View file

@ -36,7 +36,7 @@ __Raspberry PI GPIO Support__<br>
<img src='/images/supported_brands/raspberry-pi.png' style='border:none; box-shadow: none; float: right;' height='50' />
[@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__<br>
<img src='/images/supported_brands/logitech.png' style='border:none; box-shadow: none; float: right;' height='50' />
[@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__<br>
<img src='/images/supported_brands/edimax.png' style='border:none; box-shadow: none; float: right;' height='50' />
[@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__<br>
Support for Temper temperature sensors has been contributed by [@rkabadi](https://github.com/rkabadi).
```
```yaml
# Example configuration.yaml entry
sensor:
platform: temper

View file

@ -54,7 +54,7 @@ Maker channel setup:
<img src='/images/blog/2015-09-ifttt/recipe-twitter.png' />
</p>
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`.

View file

@ -28,7 +28,7 @@ __iTunes and airplay speakers__<br>
[@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