Files
esphome/esphome/components/i2c_device/i2c_device.h
Jesse Hills 8b57c2f735 Mark user-configurable classes as final (part 8/21)
Add the C++ `final` specifier to leaf, user-configurable component classes and
automation action/trigger/condition primitives so that classes meant to be
terminal cannot be subclassed by external components. Only classes never used as
a base anywhere in the tree are marked. Part 8 of 21, split alphabetically by
component (hm3301 .. integration).
2026-06-15 13:20:02 +12:00

16 lines
292 B
C++

#pragma once
#include "esphome/core/component.h"
#include "esphome/components/i2c/i2c.h"
namespace esphome::i2c_device {
class I2CDeviceComponent final : public Component, public i2c::I2CDevice {
public:
void dump_config() override;
protected:
};
} // namespace esphome::i2c_device