binary sensor

This commit is contained in:
J. Nick Koston 2023-06-07 11:26:39 -05:00
parent 0e13c84090
commit 0a76ee5f45
No known key found for this signature in database
1 changed files with 6 additions and 8 deletions

View File

@ -7,17 +7,15 @@ namespace ratgdo {
static const char *const TAG = "ratgdo.binary_sensor"; static const char *const TAG = "ratgdo.binary_sensor";
class RATGDOBinarySensor : { void RATGDOBinarySensor::dump_config() {
void dump_config() {
LOG_BINARY_SENSOR("", "RATGDO BinarySensor", this); LOG_BINARY_SENSOR("", "RATGDO BinarySensor", this);
} }
void on_door_state(esphome::ratgdo::DoorState state) {} void RATGDOBinarySensor::on_door_state(esphome::ratgdo::DoorState state) {}
void on_light_state(esphome::ratgdo::LightState state) {} void RATGDOBinarySensor::on_light_state(esphome::ratgdo::LightState state) {}
void on_lock_state(esphome::ratgdo::LockState state) {} void RATGDOBinarySensor::on_lock_state(esphome::ratgdo::LockState state) {}
void on_motion_state(esphome::ratgdo::MotionState state) {} void RATGDOBinarySensor::on_motion_state(esphome::ratgdo::MotionState state) {}
void on_obstruction_state(esphome::ratgdo::ObstructionState state) {} void RATGDOBinarySensor::on_obstruction_state(esphome::ratgdo::ObstructionState state) {}
};
} // namespace ratgdo } // namespace ratgdo
} // namespace esphome } // namespace esphome