17 void setup()
override;
virtual void setup()
Where the component's initialization should happen.
This class simplifies creating components that periodically check a state.
SUB_SENSOR(illuminance) SUB_SENSOR(temperature) SUB_SENSOR(pressure) SUB_SENSOR(humidity) SUB_SENSOR(altitude) void setup() override
void dump_config() override
This Class provides the methods to read/write bytes from/to an i2c device.