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