12 SUB_SENSOR(carbon_monoxide)
13 SUB_SENSOR(nitrogen_dioxide)
20 void setup()
override;
21 void dump_config()
override;
22 float get_setup_priority()
const override;
23 void update()
override;
This class simplifies creating components that periodically check a state.
virtual void setup()
Where the component's initialization should happen.
Implementation of SPI Controller mode.
This Class provides the methods to read/write bytes from/to an i2c device.