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
name: Office
monitored_variables: monitored_variables:
temperature: temperature:
unit_of_measurement: '°C' name: temperature
value_template: '{% raw %}{{ value | round(1) }}{% endraw %}'
humidity:
unit_of_measurement: '%'
pins: pins:
A0: A0:
name: Pin 0 analog name: Pin 0 analog
unit_of_measurement: "ca"
value_template: '{% raw %}{{ value_json.light }}{% endraw %}'
3:
name: Pin 3 digital
``` ```
Configuration variables: Configuration variables: