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.
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
This Class provides the methods to read/write bytes from/to an i2c device.