binary sensor
This commit is contained in:
parent
03cabbb84f
commit
fbcd2617b2
|
@ -13,11 +13,11 @@ namespace ratgdo {
|
||||||
|
|
||||||
class RATGDOClient : public Parented<RATGDOComponent> {
|
class RATGDOClient : public Parented<RATGDOComponent> {
|
||||||
public:
|
public:
|
||||||
virtual void on_door_state(esphome::ratgdo::DoorState state) = 0;
|
void on_door_state(esphome::ratgdo::DoorState state) = 0;
|
||||||
virtual void on_light_state(esphome::ratgdo::LightState state) = 0;
|
void on_light_state(esphome::ratgdo::LightState state) = 0;
|
||||||
virtual void on_lock_state(esphome::ratgdo::LockState state) = 0;
|
void on_lock_state(esphome::ratgdo::LockState state) = 0;
|
||||||
virtual void on_motion_state(esphome::ratgdo::MotionState state) = 0;
|
void on_motion_state(esphome::ratgdo::MotionState state) = 0;
|
||||||
virtual void on_obstruction_state(esphome::ratgdo::ObstructionState state) = 0;
|
void on_obstruction_state(esphome::ratgdo::ObstructionState state) = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
friend RATGDOComponent;
|
friend RATGDOComponent;
|
||||||
|
|
Loading…
Reference in New Issue