Minimizing of the configuration sample (#1013)
This commit is contained in:
parent
ef7531c297
commit
3d47c6f54b
6 changed files with 7 additions and 16 deletions
|
@ -24,7 +24,6 @@ sensor:
|
|||
platform: dht
|
||||
sensor: DHT22
|
||||
pin: 23
|
||||
name: Living Room
|
||||
monitored_conditions:
|
||||
- temperature
|
||||
- humidity
|
||||
|
@ -35,11 +34,7 @@ Configuration variables:
|
|||
- **sensor** (*Required*): The sensor type, supported devices are DHT11, DHT22, and AM2302
|
||||
- **pin** (*Required*): The pin the sensor is connected to.
|
||||
- **name** (*Optional*): The name of the sensor
|
||||
- **monitored_conditions** array: Conditions to monitor.
|
||||
- **temperature**:
|
||||
- **humidity**:
|
||||
|
||||
Available conditions are only *temperature* and *humidity*.
|
||||
- **monitored_conditions** array (*Required*): Conditions to monitor. Available conditions are only *temperature* and *humidity*.
|
||||
|
||||
The name of the pin to which the sensor is connected has different names on different platforms. 'P8_11' for Beaglebone, '23' for Raspberry Pi.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue