ESPHome 2026.8.0-dev
Loading...
Searching...
No Matches
bh1900nux.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome::bh1900nux {
8
9class BH1900NUXSensor final : public sensor::Sensor, public PollingComponent, public i2c::I2CDevice {
10 public:
11 void setup() override;
12 void update() override;
13 void dump_config() override;
14};
15
16} // namespace esphome::bh1900nux
This class simplifies creating components that periodically check a state.
Definition component.h:510
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:132
Base-class for all sensors.
Definition sensor.h:47