-
Notifications
You must be signed in to change notification settings - Fork 0
/
homeassistant_configuration.yaml
33 lines (29 loc) · 1.11 KB
/
homeassistant_configuration.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
rest:
# set this to your own avenet42's IP!
- resource: "http://192.168.0.129/status.json"
scan_interval: 30
sensor:
- name: "avenet42 CO2"
unique_id: sensor.avenet42_co2
value_template: "{{ value_json.co2_ppm }}"
device_class: carbon_dioxide
unit_of_measurement: "ppm"
- name: "avenet42 Humidity"
unique_id: sensor.avenet42_humidity
value_template: "{{ value_json.relative_humidity }}"
device_class: humidity
unit_of_measurement: "%"
- name: "avenet42 Temperature"
unique_id: sensor.avenet42_temperature
value_template: "{{ value_json.temp_celsius }}"
device_class: temperature
unit_of_measurement: "°C"
# - name: "avenet42 Pressure"
# unique_id: sensor.avenet42_pressure
# value_template: "{{ value_json.pressure_pa }}"
# device_class: atmospheric_pressure
# unit_of_measurement: "Pa"
# - name: "avenet42 Elevation"
# unique_id: sensor.avenet42_elevation
# value_template: "{{ value_json.elevation_m }}"
# unit_of_measurement: "m"