Minimizing of the configuration sample (#1048)
This commit is contained in:
parent
be80d1bb7b
commit
53c42e5fd9
24 changed files with 73 additions and 78 deletions
|
@ -20,18 +20,28 @@ To use your TellStick device, you first have to set up your [Tellstick hub](http
|
|||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
sensor:
|
||||
platform: tellstick
|
||||
135: Outside
|
||||
21: Inside
|
||||
only_named: True
|
||||
temperature_scale: "°C"
|
||||
datatype_mask: 1
|
||||
- platform: tellstick
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **ID: Name** *Optional*: Entry for a sensor with the name for it and its ID.
|
||||
- **only_named** *Optional*: Only show the named sensors. Set to `True` to hide sensors.
|
||||
- **temperature_scale** *Optional*: The scale of the temperature value.
|
||||
- **datatype_mask** *Optional*: Mask to determine which sensor values to show based on. Please check the [TellCore tellcore.constants documentation](https://tellcore-py.readthedocs.org/en/v1.1.2/constants.html#module-tellcore.constants) for details.
|
||||
- **ID: Name** (*Optional*): Entry for a sensor with the name for it and its ID.
|
||||
- **only_named** (*Optional*): Only show the named sensors. Set to `True` to hide sensors.
|
||||
- **temperature_scale** (*Optional*): The scale of the temperature value.
|
||||
- **datatype_mask** (*Optional*): Mask to determine which sensor values to show based on. Please check the [TellCore tellcore.constants documentation](https://tellcore-py.readthedocs.org/en/v1.1.2/constants.html#module-tellcore.constants) for details.
|
||||
|
||||
## {% linkable_title Examples %}
|
||||
|
||||
In this section you find some real life examples of how to use this sensor.
|
||||
|
||||
### {% linkable_title Full configuration %}
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
sensor:
|
||||
- platform: tellstick
|
||||
135: Outside
|
||||
21: Inside
|
||||
only_named: True
|
||||
temperature_scale: "°C"
|
||||
datatype_mask: 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue