diff --git a/source/components/sensor.arest.markdown b/source/components/sensor.arest.markdown index b39d493602d..3d7f63d48e7 100644 --- a/source/components/sensor.arest.markdown +++ b/source/components/sensor.arest.markdown @@ -26,6 +26,16 @@ sensor: unit: '%' ``` +Configuration variables: + +- **resource** (*Required*): IP address and schema of the device that is exposing an aREST API, e.g. http://192.168.1.10. + +- **monitored_variables** array: + + - **name** (*Required*): The name of the variable you wish to monitor. + - **unit** (*Optional*): Defines the units of measurement of the sensor, if any. + + The variables in the `monitored_variables` array must be available in the response of the device. As a starting point you find below a sketch for the Arduino device family. ```c