10static const uint8_t SELECT_COMM_CMD = 0x88;
23 void setup()
override;
24 void dump_config()
override;
25 void update()
override;
This class simplifies creating components that periodically check a state.
uint16_t get_sensor_value_(const uint8_t *data, uint8_t i)
aqi::AQICalculatorFactory aqi_calculator_factory_
aqi::AQICalculatorType aqi_calc_type_
enum esphome::hm3301::HM3301Component::@91 NO_ERROR
bool validate_checksum_(const uint8_t *data)
This Class provides the methods to read/write bytes from/to an i2c device.