This commit is contained in:
J. Nick Koston 2023-06-07 14:49:01 -05:00
parent 6bc292b813
commit 90ef907f39
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ namespace ratgdo {
void RATGDOBinarySensor::dump_config()
{
LOG_BINARY_SENSOR("", "RATGDO BinarySensor", this);
ESP_LOGCONFIG(TAG, " Type: %s", this->type_ == SensorType::RATGDO_SENSOR_MOTION ? "Motion" : "Obstruction");
ESP_LOGCONFIG(TAG, " Type: %s", this->binary_sensor_type_ == SensorType::RATGDO_SENSOR_MOTION ? "Motion" : "Obstruction");
}
void RATGDOBinarySensor::on_motion_state(MotionState state)
{