Minimizing of the configuration sample (#1048)

This commit is contained in:
Fabian Affolter 2016-10-02 17:14:08 +02:00 committed by GitHub
parent be80d1bb7b
commit 53c42e5fd9
24 changed files with 73 additions and 78 deletions

View file

@ -17,12 +17,16 @@ To use your TEMPer sensor in your installation, add the following to your `confi
```yaml
# Example configuration.yaml entry
sensor:
platform: temper
name: 'My TEMPer'
scale: 1
offset: 0
- platform: temper
```
Configuration options for the a TCP Sensor:
- **name** (*Optional*): The name you would like to give the sensor in Home Assistant.
- **scale** (*Optional*): The scale for the sensor.
- **offset** (*Optional*): The offset to fix reported vales.
Since some of these sensors consistently show higher temperatures the scale and offset values can be used to fine-tune your sensor.
The calculation follows the formula `scale * sensor value + offset`.