2023-06-07 15:37:51 +00:00
|
|
|
#include "ratgdo_binary_sensor.h"
|
|
|
|
#include "esphome/core/log.h"
|
|
|
|
#include "../ratgdo_state.h"
|
|
|
|
|
|
|
|
namespace esphome {
|
|
|
|
namespace ratgdo {
|
|
|
|
|
2023-06-07 15:49:45 +00:00
|
|
|
static const char *const TAG = "ratgdo.binary_sensor";
|
2023-06-07 15:37:51 +00:00
|
|
|
|
2023-06-07 16:26:09 +00:00
|
|
|
class RATGDOBinarySensor : {
|
2023-06-07 16:12:46 +00:00
|
|
|
void dump_config() {
|
2023-06-07 15:37:51 +00:00
|
|
|
LOG_BINARY_SENSOR("", "RATGDO BinarySensor", this);
|
|
|
|
}
|
|
|
|
|
2023-06-07 16:12:46 +00:00
|
|
|
void on_door_state(esphome::ratgdo::DoorState state) {}
|
|
|
|
void on_light_state(esphome::ratgdo::LightState state) {}
|
|
|
|
void on_lock_state(esphome::ratgdo::LockState state) {}
|
|
|
|
void on_motion_state(esphome::ratgdo::MotionState state) {}
|
|
|
|
void on_obstruction_state(esphome::ratgdo::ObstructionState state) {}
|
2023-06-07 16:25:30 +00:00
|
|
|
};
|
2023-06-07 15:37:51 +00:00
|
|
|
} // namespace ratgdo
|
|
|
|
} // namespace esphome
|
|
|
|
|