diff --git a/components/ratgdo/ratgdo_child.h b/components/ratgdo/ratgdo_child.h new file mode 100644 index 0000000..66cf75d --- /dev/null +++ b/components/ratgdo/ratgdo_child.h @@ -0,0 +1,23 @@ +#pragma once + +#include "esphome/core/helpers.h" + +namespace esphome { +namespace ratgdo { + +// Forward declare RATGDOComponent +class RATGDOComponent; + +class BedJetClient : public Parented { + public: + virtual void on_status() = 0; + virtual void on_ratgdo_state(bool is_ready) = 0; + + protected: + friend RATGDOComponent; + virtual std::string describe() = 0; +}; + +} // namespace ratgdo +} // namespace esphome +