Fixed markdown and added logo (#551)

This commit is contained in:
Jacob Tomlinson 2016-06-12 12:23:31 +01:00 committed by Fabian Affolter
parent 35b2c34c9d
commit 2764b4bc3d
5 changed files with 22 additions and 18 deletions

View file

@ -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:
<img src='/images/components/rfxtrx/sensor.png' />
</p>
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