diff --git a/esphome/components/scd4x/automation.h b/esphome/components/scd4x/automation.h index 21ecb2ea4c..dc43e9eb56 100644 --- a/esphome/components/scd4x/automation.h +++ b/esphome/components/scd4x/automation.h @@ -11,7 +11,7 @@ template class PerformForcedCalibrationAction : public Actionvalue_.has_value()) { - this->parent_->perform_forced_calibration(value_.value()); + this->parent_->perform_forced_calibration(this->value_.value(x...)); } }