15 void setup()
override;
sensor::Sensor * pm_2_5_sensor_
uint32_t last_transmission_
void dump_config() override
uint16_t get_16_bit_uint_(uint8_t start_index) const
This class simplifies creating components that periodically check a state.
float get_setup_priority() const override
PM1006Component()=default
void set_pm_2_5_sensor(sensor::Sensor *pm_2_5_sensor)
uint8_t pm1006_checksum_(const uint8_t *command_data, uint8_t length) const
optional< bool > check_byte_() const
Implementation of SPI Controller mode.
Base-class for all sensors.