diff --git a/components/ratgdo/binary_sensor/ratgdo_binary_sensor.cpp b/components/ratgdo/binary_sensor/ratgdo_binary_sensor.cpp index 268e836..8736e90 100644 --- a/components/ratgdo/binary_sensor/ratgdo_binary_sensor.cpp +++ b/components/ratgdo/binary_sensor/ratgdo_binary_sensor.cpp @@ -30,28 +30,24 @@ namespace ratgdo { { if (this->binary_sensor_type_ != SensorType::RATGDO_SENSOR_MOTION) return; - ESP_LOGD(TAG, "name: %s this->type_:%d on_motion_state: %d", this->get_name(), this->binary_sensor_type_, state); this->publish_state(state == MotionState::MOTION_STATE_DETECTED); } void RATGDOBinarySensor::on_obstruction_state(ObstructionState state) { if (this->binary_sensor_type_ != SensorType::RATGDO_SENSOR_OBSTRUCTION) return; - ESP_LOGD(TAG, "name: %s this->type_:%d on_obstruction_state: %d", this->get_name(), this->binary_sensor_type_, state); this->publish_state(state == ObstructionState::OBSTRUCTION_STATE_OBSTRUCTED); } void RATGDOBinarySensor::on_motor_state(MotorState state) { if (this->binary_sensor_type_ != SensorType::RATGDO_SENSOR_MOTOR) return; - ESP_LOGD(TAG, "name: %s this->type_:%d on_motor_state: %d", this->get_name(), this->binary_sensor_type_, state); this->publish_state(state == MotorState::MOTOR_STATE_ON); } void RATGDOBinarySensor::on_button_state(ButtonState state) { if (this->binary_sensor_type_ != SensorType::RATGDO_SENSOR_BUTTON) return; - ESP_LOGD(TAG, "name: %s this->type_:%d on_button_state: %d", this->get_name(), this->binary_sensor_type_, state); this->publish_state(state == ButtonState::BUTTON_STATE_PRESSED); } diff --git a/components/ratgdo/button/ratgdo_button.cpp b/components/ratgdo/button/ratgdo_button.cpp index a6c4cf6..bec2478 100644 --- a/components/ratgdo/button/ratgdo_button.cpp +++ b/components/ratgdo/button/ratgdo_button.cpp @@ -15,7 +15,6 @@ namespace ratgdo { void RATGDOButton::press_action() { - ESP_LOGD(TAG, "name: %s this->type_:%d", this->get_name(), this->button_type_); if (this->button_type_ == ButtonType::RATGDO_SYNC) { this->parent_->sync(); } else if (this->button_type_ == ButtonType::RATGDO_QUERY) { diff --git a/components/ratgdo/light/ratgdo_light_output.cpp b/components/ratgdo/light/ratgdo_light_output.cpp index efcdab6..c6365ac 100644 --- a/components/ratgdo/light/ratgdo_light_output.cpp +++ b/components/ratgdo/light/ratgdo_light_output.cpp @@ -15,7 +15,6 @@ namespace ratgdo { } void RATGDOLightOutput::on_light_state(esphome::ratgdo::LightState state) { - ESP_LOGD(TAG, "on_light_state: %d", state); if (this->light_state_) { this->has_initial_state_ = true; set_state(state); @@ -32,7 +31,6 @@ namespace ratgdo { void RATGDOLightOutput::setup_state(light::LightState* light_state) { esphome::ratgdo::LightState state = this->parent_->getLightState(); - ESP_LOGD(TAG, "setup_state: getLightState: %d", state); this->light_state_ = light_state; this->set_state(state); } @@ -50,10 +48,8 @@ namespace ratgdo { bool binary; state->current_values_as_binary(&binary); if (binary) { - ESP_LOGD(TAG, "output call lightOn"); this->parent_->lightOn(); } else { - ESP_LOGD(TAG, "output call lightOff"); this->parent_->lightOff(); } } diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index dfc0489..e9e40a6 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -146,7 +146,6 @@ namespace ratgdo { void RATGDOComponent::incrementRollingCodeCounter() { - ESP_LOGD(TAG, "Incrementing rolling code counter"); this->rollingCodeCounter = (this->rollingCodeCounter + 1) & 0xfffffff; sendRollingCodeChanged(); } @@ -154,7 +153,6 @@ namespace ratgdo { void RATGDOComponent::sendRollingCodeChanged() { if (!this->rollingCodeUpdatesEnabled_) { - ESP_LOGD(TAG, "Rolling code updates disabled"); return; } for (auto* child : this->children_) { diff --git a/components/ratgdo/switch/ratgdo_switch.cpp b/components/ratgdo/switch/ratgdo_switch.cpp index 355a25e..4ee98e1 100644 --- a/components/ratgdo/switch/ratgdo_switch.cpp +++ b/components/ratgdo/switch/ratgdo_switch.cpp @@ -21,7 +21,6 @@ namespace ratgdo { } void RATGDOSwitch::write_state(bool state) { - ESP_LOGD(TAG, "name: %s this->type_:%d state: %d", this->get_name(), this->switch_type_, state); if (state) { this->parent_->lock(); } else {