1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-15 07:08:20 +00:00

Removed humidty reading from STS3x sensor

This commit is contained in:
valordk 2019-07-17 20:45:22 +02:00
parent b2cf95ad3f
commit be1b9c453a

View File

@ -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