mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 19:26:50 +00:00
Update Tellstick sensor component configuration (#7382)
This commit is contained in:
parent
6b6431b9d6
commit
45be71ee54
@ -12,10 +12,8 @@ ha_category: Sensor
|
|||||||
ha_iot_class: "Local Polling"
|
ha_iot_class: "Local Polling"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
The `tellstick` sensor platform allows you to get current meteorological data from a [TellStick](http://www.telldus.se/products/tellstick) device.
|
The `tellstick` sensor platform allows you to get current meteorological data from a [TellStick](http://www.telldus.se/products/tellstick) device.
|
||||||
|
|
||||||
|
|
||||||
To use your TellStick device, you first have to set up your [Tellstick hub](/components/tellstick/) and then add the following to your `configuration.yaml` file:
|
To use your TellStick device, you first have to set up your [Tellstick hub](/components/tellstick/) and then add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@ -24,12 +22,27 @@ sensor:
|
|||||||
- platform: tellstick
|
- platform: tellstick
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
sensor:
|
||||||
- **ID: Name** (*Optional*): Entry for a sensor with the name for it and its ID.
|
description: "Entry for a sensor with the ID and its name, e.g., ID: Name."
|
||||||
- **only_named** (*Optional*): Only show the named sensors. Set to `True` to hide sensors.
|
required: false
|
||||||
- **temperature_scale** (*Optional*): The scale of the temperature value.
|
type: string
|
||||||
- **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.
|
only_named:
|
||||||
|
description: Only show the named sensors. Set to `True` to hide sensors.
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
temperature_scale:
|
||||||
|
description: The scale of the temperature value.
|
||||||
|
required: false
|
||||||
|
default: °C
|
||||||
|
type: string
|
||||||
|
datatype_mask:
|
||||||
|
description: 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.
|
||||||
|
required: false
|
||||||
|
default: 127
|
||||||
|
type: integer
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
## {% linkable_title Examples %}
|
## {% linkable_title Examples %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user