From f849d749279896d2d2602dcebf14db0d33fc6c37 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 11 Sep 2015 23:43:19 +0200 Subject: [PATCH] Update variable description --- source/components/switch.arest.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/components/switch.arest.markdown b/source/components/switch.arest.markdown index bb80a3877fc..38b6380d38c 100644 --- a/source/components/switch.arest.markdown +++ b/source/components/switch.arest.markdown @@ -30,7 +30,7 @@ Configuration variables: - **resource** (*Required*): IP address and schema of the device that is exposing an aREST API, e.g. http://192.168.1.10. - **pins** (*Required*): An array with all used pins of your board. - - **name** (*Required*): The name of the variable you wish to monitor. + - **name** (*Required*): The name of the pin you wish to toggle. Accessing one of the endpoints (eg. http://192.168.1.10/analog/2/) will give you a JSON response. The interesting part is `return_value` which represents the sensor's data.