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 ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
sensor: - platform: arest
platform: arest resource: http://10.100.0.117
resource: http://IP_ADDRESS monitored_variables:
name: Office temperature:
monitored_variables: name: temperature
temperature: pins:
unit_of_measurement: '°C' A0:
value_template: '{% raw %}{{ value | round(1) }}{% endraw %}' name: Pin 0 analog
humidity:
unit_of_measurement: '%'
pins:
A0:
name: Pin 0 analog
unit_of_measurement: "ca"
value_template: '{% raw %}{{ value_json.light }}{% endraw %}'
3:
name: Pin 3 digital
``` ```
Configuration variables: Configuration variables: