get rid of strings
This commit is contained in:
parent
74206e9c63
commit
b42b5f4239
|
@ -0,0 +1,23 @@
|
|||
#pragma once
|
||||
|
||||
#include "esphome/core/helpers.h"
|
||||
|
||||
namespace esphome {
|
||||
namespace ratgdo {
|
||||
|
||||
// Forward declare RATGDOComponent
|
||||
class RATGDOComponent;
|
||||
|
||||
class BedJetClient : public Parented<RATGDOComponent> {
|
||||
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
|
||||
|
Loading…
Reference in New Issue