13 void setup()
override;
This class simplifies creating components that periodically check a state.
This Class provides the methods to read/write bytes from/to an i2c device.
Base-class for all sensors.
void read_temperature_()
Internal method to read the temperature from the component after it has been scheduled.
void update() override
Update the sensor value (temperature).
void setup() override
Setup the sensor and check connection.
float get_setup_priority() const override
void dump_config() override
Providing packet encoding functions for exchanging data with a remote host.