esphome-ratgdo/components/ratgdo/binary_sensor/ratgdo_binary_sensor.cpp
J. Nick Koston 4f0166e357
tweak
2023-06-07 11:16:40 -05:00

29 lines
713 B
C++

#include "ratgdo_binary_sensor.h"
#include "esphome/core/log.h"
#include "../ratgdo_state.h"
#ifdef USE_ESP32
namespace esphome {
namespace ratgdo {
using namespace esphome::binary_sensor;
static const char *const TAG = "ratgdo.binary_sensor";
class RATGDOBinarySensor {
void dump_config() {
LOG_BINARY_SENSOR("", "RATGDO BinarySensor", this);
}
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) {}
}
} // namespace ratgdo
} // namespace esphome
#endif