binary sensor

This commit is contained in:
J. Nick Koston 2023-06-07 11:40:02 -05:00
parent 03cabbb84f
commit fbcd2617b2
No known key found for this signature in database
1 changed files with 5 additions and 5 deletions

View File

@ -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;