Minimize the configuration sample

This commit is contained in:
Fabian Affolter 2016-10-09 12:47:54 +02:00
parent 9b03552572
commit 0ca1640657
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -19,23 +19,14 @@ To use your aREST enabled device in your installation, add the following to your
```yaml
# Example configuration.yaml entry
sensor:
platform: arest
resource: http://IP_ADDRESS
name: Office
- platform: arest
resource: http://10.100.0.117
monitored_variables:
temperature:
unit_of_measurement: '°C'
value_template: '{% raw %}{{ value | round(1) }}{% endraw %}'
humidity:
unit_of_measurement: '%'
name: temperature
pins:
A0:
name: Pin 0 analog
unit_of_measurement: "ca"
value_template: '{% raw %}{{ value_json.light }}{% endraw %}'
3:
name: Pin 3 digital
```
Configuration variables: