forked from esphome/dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbmp085.json
91 lines (91 loc) · 3.82 KB
/
bmp085.json
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"bmp085.sensor": {
"schemas": {
"CONFIG_SCHEMA": {
"type": "schema",
"schema": {
"config_vars": {
"id": {
"key": "GeneratedID",
"id_type": {
"class": "bmp085::BMP085Component",
"parents": [
"PollingComponent",
"Component",
"i2c::I2CDevice"
]
}
},
"temperature": {
"key": "Optional",
"type": "schema",
"schema": {
"extends": [
"sensor.SENSOR_SCHEMA"
],
"config_vars": {
"unit_of_measurement": {
"default": "\u00b0C"
},
"accuracy_decimals": {
"default": "1"
},
"device_class": {
"default": "temperature"
},
"state_class": {
"default": "measurement"
}
}
},
"docs": "The information for the temperature sensor.\n * **name** (**Required**, string): The name for the temperature sensor.\n \n * **id** (*Optional*, [ID](https://esphome.io/guides/configuration-types.html#config-id)): Set the ID of this sensor for use in lambdas.\n \n * All other options from [Sensor](https://esphome.io/components/sensor/index.html#config-sensor).\n \n \n\n*See also: [BMP085 Temperature+Pressure Sensor](https://esphome.io/components/sensor/bmp085.html#configuration-variables)*"
},
"pressure": {
"key": "Optional",
"type": "schema",
"schema": {
"extends": [
"sensor.SENSOR_SCHEMA"
],
"config_vars": {
"unit_of_measurement": {
"default": "hPa"
},
"accuracy_decimals": {
"default": "1"
},
"device_class": {
"default": "pressure"
},
"state_class": {
"default": "measurement"
}
}
},
"docs": "The information for the pressure sensor.\n * **name** (**Required**, string): The name for the pressure sensor.\n \n * **id** (*Optional*, [ID](https://esphome.io/guides/configuration-types.html#config-id)): Set the ID of this sensor for use in lambdas.\n \n * All other options from [Sensor](https://esphome.io/components/sensor/index.html#config-sensor).\n \n \n\n*See also: [BMP085 Temperature+Pressure Sensor](https://esphome.io/components/sensor/bmp085.html#configuration-variables)*"
},
"update_interval": {
"key": "Optional",
"default": "60s",
"docs": "**[Time](https://esphome.io/guides/configuration-types.html#config-time)**: The interval to check the sensor. Defaults to `60s`.\n\n*See also: [BMP085 Temperature+Pressure Sensor](https://esphome.io/components/sensor/bmp085.html#configuration-variables)*"
},
"i2c_id": {
"key": "GeneratedID",
"use_id_type": "i2c::I2CBus",
"type": "use_id"
},
"address": {
"key": "Optional",
"default": "119",
"data_type": "hex_uint8_t",
"docs": "**int**: Manually specify the I\u00b2C address of the sensor. Defaults to `0x77`.\n\n*See also: [BMP085 Temperature+Pressure Sensor](https://esphome.io/components/sensor/bmp085.html#configuration-variables)*"
}
},
"extends": [
"core.COMPONENT_SCHEMA"
]
}
}
}
}
}