Minimizing of the configuration sample (#1048)

This commit is contained in:
Fabian Affolter 2016-10-02 17:14:08 +02:00 committed by GitHub
parent be80d1bb7b
commit 53c42e5fd9
24 changed files with 73 additions and 78 deletions

View file

@ -16,16 +16,12 @@ The TCP component allows the integration of some services for which a specific H
To enable this sensor, add the following lines to your `configuration.yaml`:
```yaml
sensor:
# Example configuration.yaml entry
platform: tcp
name: Central Heating Pressure
host: IP_ADDRESS
port: PORT
timeout: 5
payload: PAYLOAD
value_template: "{% raw %}{{ value.split(';')[0] }}{% endraw %}"
unit: UNIT_OF_MEASUREMENT
sensor:
- platform: tcp
host: IP_ADDRESS
port: PORT
payload: PAYLOAD
```
Configuration options for the a TCP Sensor: