Sensirion SHT31


The sht31 sensor platform allows you to get the current temperature and humidity from a Sensirion SHT31 device.

Configuration

To use your SHT31 sensor in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: sht31
    name: Bedroom
    i2c_address: 0x44
    monitored_conditions:
      - temperature
      - humidity

Configuration Variables

name

(string)(Optional)

The name of the sensor. Temperature and Humidity will be added to the name for the sensor name.

Default value:

SHT31

i2c_address

(integer)(Optional)

I2C address of the sensor.

Default value:

0x44

monitored_conditions

(list)(Optional)

Conditions to monitor.

Default value:

All conditions

temperature

The current temperature of the SHT31.

humidity

The current humidity of the SHT31.