35 void play(Ts...
x)
override { this->senseair_->background_calibration(); }
45 void play(Ts...
x)
override { this->senseair_->background_calibration_result(); }
55 void play(Ts...
x)
override { this->senseair_->abc_enable(); }
65 void play(Ts...
x)
override { this->senseair_->abc_disable(); }
75 void play(Ts...
x)
override { this->senseair_->abc_get_period(); }
const float DATA
For components that import data from directly connected sensors like DHT.
void play(Ts... x) override
void play(Ts... x) override
SenseAirComponent * senseair_
SenseAirComponent * senseair_
void play(Ts... x) override
void dump_config() override
This class simplifies creating components that periodically check a state.
SenseAirBackgroundCalibrationAction(SenseAirComponent *senseair)
float get_setup_priority() const override
void play(Ts... x) override
void background_calibration()
void play(Ts... x) override
void set_co2_sensor(sensor::Sensor *co2_sensor)
bool senseair_write_command_(const uint8_t *command, uint8_t *response, uint8_t response_length)
SenseAirABCDisableAction(SenseAirComponent *senseair)
SenseAirBackgroundCalibrationResultAction(SenseAirComponent *senseair)
sensor::Sensor * co2_sensor_
Implementation of SPI Controller mode.
SenseAirComponent * senseair_
SenseAirABCEnableAction(SenseAirComponent *senseair)
Base-class for all sensors.
SenseAirABCGetPeriodAction(SenseAirComponent *senseair)
SenseAirComponent * senseair_
void background_calibration_result()
SenseAirComponent * senseair_