mirror of
https://github.com/esphome/esphome.git
synced 2025-09-26 15:12:21 +01:00
Removed humidty reading from STS3x sensor
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user