From 0ca16406577677ca324a74cc004f7e59dacb1170 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Oct 2016 12:47:54 +0200 Subject: [PATCH] Minimize the configuration sample --- source/_components/sensor.arest.markdown | 25 ++++++++---------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/source/_components/sensor.arest.markdown b/source/_components/sensor.arest.markdown index c69b5251c1b..70d83a25ee1 100644 --- a/source/_components/sensor.arest.markdown +++ b/source/_components/sensor.arest.markdown @@ -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 - monitored_variables: - temperature: - unit_of_measurement: '°C' - value_template: '{% raw %}{{ value | round(1) }}{% endraw %}' - 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 + - platform: arest + resource: http://10.100.0.117 + monitored_variables: + temperature: + name: temperature + pins: + A0: + name: Pin 0 analog ``` Configuration variables: