18 void setup()
override;
BedjetMode mode
BedJet operating mode.
This class simplifies creating components that periodically check a state.
CalibrationData calibration_
void setup() override
Setup the sensor and test for a connection.
void read_pressure_()
Internal method to read the pressure from the component after it has been scheduled.
void update() override
Schedule temperature+pressure readings.
float get_setup_priority() const override
void dump_config() override
sensor::Sensor * pressure_
void read_temperature_()
Internal method to read the temperature from the component after it has been scheduled.
bool set_mode_(uint8_t mode)
void set_pressure(sensor::Sensor *pressure)
void set_temperature(sensor::Sensor *temperature)
sensor::Sensor * temperature_
This Class provides the methods to read/write bytes from/to an i2c device.
Base-class for all sensors.
Providing packet encoding functions for exchanging data with a remote host.