esphome-ratgdo/components/ratgdo/binary_sensor/ratgdo_binary_sensor.cpp

24 lines
773 B
C++
Raw Normal View History

2023-06-07 10:37:51 -05:00
#include "ratgdo_binary_sensor.h"
#include "esphome/core/log.h"
#include "../ratgdo_state.h"
namespace esphome {
namespace ratgdo {
2023-06-07 10:49:45 -05:00
static const char *const TAG = "ratgdo.binary_sensor";
2023-06-07 10:37:51 -05:00
2023-06-07 11:26:39 -05:00
void RATGDOBinarySensor::dump_config() {
2023-06-07 10:37:51 -05:00
LOG_BINARY_SENSOR("", "RATGDO BinarySensor", this);
2023-06-07 11:31:02 -05:00
LOG_PIN(" Type: ", this->type_);
2023-06-07 10:37:51 -05:00
}
2023-06-07 11:26:39 -05:00
void RATGDOBinarySensor::on_door_state(esphome::ratgdo::DoorState state) {}
void RATGDOBinarySensor::on_light_state(esphome::ratgdo::LightState state) {}
void RATGDOBinarySensor::on_lock_state(esphome::ratgdo::LockState state) {}
void RATGDOBinarySensor::on_motion_state(esphome::ratgdo::MotionState state) {}
void RATGDOBinarySensor::on_obstruction_state(esphome::ratgdo::ObstructionState state) {}
2023-06-07 10:37:51 -05:00
} // namespace ratgdo
} // namespace esphome