18 void setup()
override;
19 void dump_config()
override;
22 void update()
override;
24 bool is_heater_enabled();
25 void set_heater(
bool status);
26 void set_heater_level(uint8_t level);
27 uint8_t get_heater_level();
virtual void setup()
Where the component's initialization should happen.
This class simplifies creating components that periodically check a state.
HTU21DSensorModels sensor_model_
This Class provides the methods to read/write bytes from/to an i2c device.
@ HTU21D_SENSOR_MODEL_SI7021
@ HTU21D_SENSOR_MODEL_SHT21
@ HTU21D_SENSOR_MODEL_HTU21D