mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Minimize the configuration sample
This commit is contained in:
parent
9b03552572
commit
0ca1640657
@ -19,23 +19,14 @@ To use your aREST enabled device in your installation, add the following to your
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
- platform: arest
|
||||||
platform: arest
|
resource: http://10.100.0.117
|
||||||
resource: http://IP_ADDRESS
|
monitored_variables:
|
||||||
name: Office
|
temperature:
|
||||||
monitored_variables:
|
name: temperature
|
||||||
temperature:
|
pins:
|
||||||
unit_of_measurement: '°C'
|
A0:
|
||||||
value_template: '{% raw %}{{ value | round(1) }}{% endraw %}'
|
name: Pin 0 analog
|
||||||
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
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user