19 void setup()
override;
uint8_t sds011_checksum_(const uint8_t *command_data, uint8_t length) const
void set_working_state(bool working_state)
sensor::Sensor * pm_10_0_sensor_
void set_pm_10_0_sensor(sensor::Sensor *pm_10_0_sensor)
uint32_t last_transmission_
SDS011Component()=default
float get_setup_priority() const override
uint8_t update_interval_min_
sensor::Sensor * pm_2_5_sensor_
void set_update_interval_min(uint8_t update_interval_min)
uint16_t get_16_bit_uint_(uint8_t start_index) const
void dump_config() override
Implementation of SPI Controller mode.
Base-class for all sensors.
optional< bool > check_byte_() const
void set_rx_mode_only(bool rx_mode_only)
Manually set the rx-only mode. Defaults to false.
void sds011_write_command_(const uint8_t *command)
void set_pm_2_5_sensor(sensor::Sensor *pm_2_5_sensor)
void set_update_interval(uint32_t val)