mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Update Htu21d sensor component configuration (#7133)
This commit is contained in:
parent
7c53ec60c5
commit
c1fe23ee3c
@ -13,7 +13,6 @@ ha_release: 0.48
|
|||||||
ha_iot_class: "Local Push"
|
ha_iot_class: "Local Push"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
The `htu21d` sensor platform allows you to read the temperature and humidity from a [HTU21D sensor](http://www.datasheetspdf.com/PDF/HTU21D/779951/1) connected via [I2c](https://en.wikipedia.org/wiki/I²C) bus (SDA, SCL pins).
|
The `htu21d` sensor platform allows you to read the temperature and humidity from a [HTU21D sensor](http://www.datasheetspdf.com/PDF/HTU21D/779951/1) connected via [I2c](https://en.wikipedia.org/wiki/I²C) bus (SDA, SCL pins).
|
||||||
|
|
||||||
Tested devices:
|
Tested devices:
|
||||||
@ -30,11 +29,18 @@ sensor:
|
|||||||
- platform: htu21d
|
- platform: htu21d
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
name:
|
||||||
- **name** (*Optional*): The name of the sensor
|
description: The name of the sensor.
|
||||||
- **i2c_bus** (*Optional*): I2c bus where the sensor is. Defaults to 1, for Raspberry Pi 2 and 3.
|
required: false
|
||||||
|
default: i2c_bus
|
||||||
|
type: string
|
||||||
|
i2c_bus:
|
||||||
|
description: I2c bus where the sensor is.
|
||||||
|
required: false
|
||||||
|
default: 1 (for Raspberry Pi 2 and 3)
|
||||||
|
type: integer
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
## {% linkable_title Customizing the sensor data %}
|
## {% linkable_title Customizing the sensor data %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user