From be1b9c453aa61fa115e2f72a2672515ee4ee2daf Mon Sep 17 00:00:00 2001 From: valordk Date: Wed, 17 Jul 2019 20:45:22 +0200 Subject: [PATCH] Removed humidty reading from STS3x sensor --- esphome/components/sts3x/sts3x.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/esphome/components/sts3x/sts3x.h b/esphome/components/sts3x/sts3x.h index 9dba991dfa..8b55a5160c 100644 --- a/esphome/components/sts3x/sts3x.h +++ b/esphome/components/sts3x/sts3x.h @@ -11,7 +11,6 @@ namespace sts3x { class STS3XComponent : public PollingComponent, public i2c::I2CDevice { public: void set_temperature_sensor(sensor::Sensor *temperature_sensor) { temperature_sensor_ = temperature_sensor; } - void set_humidity_sensor(sensor::Sensor *humidity_sensor) { humidity_sensor_ = humidity_sensor; } void setup() override; void dump_config() override; @@ -23,7 +22,6 @@ class STS3XComponent : public PollingComponent, public i2c::I2CDevice { bool read_data_(uint16_t *data, uint8_t len); sensor::Sensor *temperature_sensor_; - sensor::Sensor *humidity_sensor_; }; } // namespace sts3x