mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 20:36:52 +00:00
Add variable description
This commit is contained in:
parent
c0f9913a7d
commit
f7850b07eb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user