17 void setup()
override;
This class simplifies creating components that periodically check a state.
MHZ19ABCDisableAction(MHZ19Component *mhz19)
void play(Ts... x) override
MHZ19ABCEnableAction(MHZ19Component *mhz19)
void play(Ts... x) override
void play(Ts... x) override
MHZ19CalibrateZeroAction(MHZ19Component *mhz19)
void set_abc_enabled(bool abc_enabled)
void dump_config() override
float get_setup_priority() const override
sensor::Sensor * temperature_sensor_
sensor::Sensor * co2_sensor_
bool mhz19_write_command_(const uint8_t *command, uint8_t *response)
void set_temperature_sensor(sensor::Sensor *temperature_sensor)
MHZ19ABCLogic abc_boot_logic_
void set_warmup_seconds(uint32_t seconds)
void set_co2_sensor(sensor::Sensor *co2_sensor)
Base-class for all sensors.
Providing packet encoding functions for exchanging data with a remote host.