diff --git a/components/ratgdo/binary_sensor/ratgdo_binary_sensor.cpp b/components/ratgdo/binary_sensor/ratgdo_binary_sensor.cpp index a083a2e..3876466 100644 --- a/components/ratgdo/binary_sensor/ratgdo_binary_sensor.cpp +++ b/components/ratgdo/binary_sensor/ratgdo_binary_sensor.cpp @@ -7,7 +7,7 @@ namespace ratgdo { static const char *const TAG = "ratgdo.binary_sensor"; - class RATGDOBinarySensor { +class RATGDOBinarySensor : public binary_sensor::BinarySensor, public RATGDOClient, public Component { void dump_config() { LOG_BINARY_SENSOR("", "RATGDO BinarySensor", this); }