From 2764b4bc3da392c05c3de500d1bbc23c141569a4 Mon Sep 17 00:00:00 2001
From: Jacob Tomlinson
Date: Sun, 12 Jun 2016 12:23:31 +0100
Subject: [PATCH] Fixed markdown and added logo (#551)
---
source/_components/light.rfxtrx.markdown | 5 +++--
source/_components/rfxtrx.markdown | 1 +
.../_components/rollershutter.rfxtrx.markdown | 9 +++++----
source/_components/sensor.rfxtrx.markdown | 18 +++++++++---------
source/_components/switch.rfxtrx.markdown | 7 ++++---
5 files changed, 22 insertions(+), 18 deletions(-)
diff --git a/source/_components/light.rfxtrx.markdown b/source/_components/light.rfxtrx.markdown
index 9218c91c971..98761dd20e3 100644
--- a/source/_components/light.rfxtrx.markdown
+++ b/source/_components/light.rfxtrx.markdown
@@ -7,6 +7,7 @@ sidebar: true
comments: false
sharing: true
footer: true
+logo: rfxtrx.png
ha_category: Light
ha_release: 0.7.5
---
@@ -29,14 +30,14 @@ Push your remote and your device should be added:
-Here the name is 0b11000102ef9f210010f70 and you can verify that it works from the frontend.
+Here the name is 0b11000102ef9f210010f70 and you can verify that it works from the frontend.
Then you should update your configuration to:
```yaml
light:
platform: rfxtrx
devices:
- 0b11000102ef9f210010f70:
+ 0b11000102ef9f210010f70:
name: device_name
```
diff --git a/source/_components/rfxtrx.markdown b/source/_components/rfxtrx.markdown
index 67e2c7a286c..18c733850e4 100644
--- a/source/_components/rfxtrx.markdown
+++ b/source/_components/rfxtrx.markdown
@@ -7,6 +7,7 @@ sidebar: true
comments: false
sharing: true
footer: true
+logo: rfxtrx.png
ha_category: Hub
ha_release: pre 0.7
---
diff --git a/source/_components/rollershutter.rfxtrx.markdown b/source/_components/rollershutter.rfxtrx.markdown
index 831e600d6a4..29227ce431f 100644
--- a/source/_components/rollershutter.rfxtrx.markdown
+++ b/source/_components/rollershutter.rfxtrx.markdown
@@ -2,11 +2,12 @@
layout: page
title: "RFXtrx Rollershutter"
description: "Instructions how to integrate RFXtrx roller shutters into Home Assistant."
-date: 2016-06-02 22:10
+date: 2016-06-11 22:40
sidebar: true
comments: false
sharing: true
footer: true
+logo: rfxtrx.png
ha_category: Rollershutter
ha_release: 0.21
---
@@ -30,6 +31,7 @@ Push your remote and your device should be added.
Once added it will show an id (e.g `0b11000102ef9f210010f70`) and you can verify that it works from the frontend.
Then you should update your configuration to:
+
```yaml
rollershutter:
platform: rfxtrx
@@ -38,8 +40,8 @@ rollershutter:
name: device_name
```
-#####RFY
-The RFXtrx433e is required for RFY support, however it does not support receive for the RFY protocol - as such devices cannot be automatically added. Instead, configure the device in the [rfxmngr](http://www.rfxcom.com/downloads.htm) tool. Make a note of the assigned ID and Unit Code and then add a device to the configuration with the following id `071a0000[id][unit_code]`. Eg, if the id was `a` (`0a`) `00` `01`, and the unit code was `1` (`01`) then the fully qualified id would be `071a00000a000101`.
+##### RFY
+The RFXtrx433e is required for RFY support, however it does not support receive for the RFY protocol - as such devices cannot be automatically added. Instead, configure the device in the [rfxmngr](http://www.rfxcom.com/downloads.htm) tool. Make a note of the assigned ID and Unit Code and then add a device to the configuration with the following id `071a0000[id][unit_code]`. Eg, if the id was `0a` `00` `01`, and the unit code was `01` then the fully qualified id would be `071a00000a000101`.
#####Common
@@ -64,4 +66,3 @@ Configuration variables:
- **automatic_add** (*Optional*): To enable the automatic addition of new roller shutters (Siemens/LightwaveRF only).
- **signal_repetitions** *Optional*: Because the rxftrx device sends its actions via radio and from most receivers it's impossible to know if the signal was received or not. Therefore you can configure the roller shutter to try to send each signal repeatedly.
- **fire_event** *Optional*: Fires an event even if the state is the same as before. Can be used for automations.
-
diff --git a/source/_components/sensor.rfxtrx.markdown b/source/_components/sensor.rfxtrx.markdown
index 8fa51cac38d..1a2b3531a19 100644
--- a/source/_components/sensor.rfxtrx.markdown
+++ b/source/_components/sensor.rfxtrx.markdown
@@ -7,6 +7,7 @@ sidebar: true
comments: false
sharing: true
footer: true
+logo: rfxtrx.png
ha_category: Sensor
---
@@ -16,7 +17,7 @@ First you have to set up your [rfxtrx hub.](/components/rfxtrx/)
The easiest way to find your sensors is to add this to your `configuration.yaml`:
```yaml
-sensor:
+sensor:
platform: rfxtrx
automatic_add: True
```
@@ -27,26 +28,26 @@ Then when the sensor emits a signal it will be automatically added:
-Here the name is 0a52080000301004d240259 and you can verify that it works from the frontend.
+Here the name is 0a52080000301004d240259 and you can verify that it works from the frontend.
Then you should update your configuration to:
```yaml
sensor:
platform: rfxtrx
devices:
- 0a52080000301004d240259:
+ 0a52080000301004d240259:
name: device_name
```
If you want to display several data types from one sensor:
```yaml
-sensor:
+sensor:
platform: rfxtrx
devices:
- 0a520802060100ff0e0269:
+ 0a520802060100ff0e0269:
name: Bath
- data_type:
+ data_type:
- Humidity
- Temperature
```
@@ -57,7 +58,7 @@ Example configuration:
```yaml
# Example configuration.yaml entry
-sensor:
+sensor:
platform: rfxtrx
automatic_add: True
devices:
@@ -65,7 +66,7 @@ sensor:
name: Lving
0a520802060100ff0e0269:
name: Bath
- data_type:
+ data_type:
- Humidity
- Temperature
```
@@ -75,4 +76,3 @@ Configuration variables:
- **devices** (*Optional*): A list of devices with their name to use in the frontend.
- **automatic_add** (*Optional*): To enable the automatic addition of new lights.
- **data_type** (*Optional*): Which data type the sensor should show
-
diff --git a/source/_components/switch.rfxtrx.markdown b/source/_components/switch.rfxtrx.markdown
index f86f1b24f1b..92b807915c1 100644
--- a/source/_components/switch.rfxtrx.markdown
+++ b/source/_components/switch.rfxtrx.markdown
@@ -7,6 +7,7 @@ sidebar: true
comments: false
sharing: true
footer: true
+logo: rfxtrx.png
ha_category: Switch
ha_release: 0.7.5
---
@@ -29,14 +30,14 @@ Push your remote and your device should be added:
-Here the name is 0b11000102ef9f210010f70 and you can verify that it works from the frontend.
+Here the name is 0b11000102ef9f210010f70 and you can verify that it works from the frontend.
Then you should update your configuration to:
```yaml
switch:
platform: rfxtrx
devices:
- 0b11000102ef9f210010f70:
+ 0b11000102ef9f210010f70:
name: device_name
```
@@ -44,7 +45,7 @@ Example configuration:
```yaml
# Example configuration.yaml entry
-switch:
+switch:
platform: rfxtrx
automatic_add: False
signal_repetitions: 2