mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Add new configuration variable
This commit is contained in:
parent
aa08cfd207
commit
f07544fdf7
@ -19,6 +19,7 @@ To use your aREST enabled device in your installation, add the following to your
|
|||||||
sensor:
|
sensor:
|
||||||
platform: arest
|
platform: arest
|
||||||
resource: http://IP_ADDRESS
|
resource: http://IP_ADDRESS
|
||||||
|
name: Office
|
||||||
monitored_variables:
|
monitored_variables:
|
||||||
- name: temperature
|
- name: temperature
|
||||||
unit: '°C'
|
unit: '°C'
|
||||||
@ -29,7 +30,8 @@ sensor:
|
|||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- **resource** (*Required*): IP address and schema of the device that is exposing an aREST API, e.g. http://192.168.1.10.
|
- **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** (*Optional*): Let you overwrite the the name of the device. By default *name* from the device is used.
|
||||||
|
- **monitored_variables** array: List of exposed variables.
|
||||||
- **name** (*Required*): The name of the variable you wish to monitor.
|
- **name** (*Required*): The name of the variable you wish to monitor.
|
||||||
- **unit** (*Optional*): Defines the units of measurement of the sensor, if any.
|
- **unit** (*Optional*): Defines the units of measurement of the sensor, if any.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user